Skip to content

Commit 9bf436b

Browse files
Merge branch 'main'
# Conflicts: # CHANGELOG.md # README.md
2 parents cb61799 + 1d7b6da commit 9bf436b

6 files changed

Lines changed: 13 additions & 16 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-paper",
3-
"version": "4.7.0",
3+
"version": "4.8.0",
44
"private": false,
55
"scripts": {
66
"dev": "astro dev",

src/components/Tag.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
export interface Props {
33
tag: string;
4+
tagName: string;
45
size?: "sm" | "lg";
56
}
67
7-
const { tag, size = "sm" } = Astro.props;
8+
const { tag, tagName, size = "sm" } = Astro.props;
89
---
910

1011
<li
@@ -24,7 +25,7 @@ const { tag, size = "sm" } = Astro.props;
2425
d="M16.018 3.815 15.232 8h-4.966l.716-3.815-1.964-.37L8.232 8H4v2h3.857l-.751 4H3v2h3.731l-.714 3.805 1.965.369L8.766 16h4.966l-.714 3.805 1.965.369.783-4.174H20v-2h-3.859l.751-4H21V8h-3.733l.716-3.815-1.965-.37zM14.106 14H9.141l.751-4h4.966l-.752 4z"
2526
></path>
2627
</svg>
27-
&nbsp;<span>{tag}</span>
28+
&nbsp;<span>{tagName}</span>
2829
</a>
2930
</li>
3031

src/content/blog/OSXMavericks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ iLife 是 Apple 为创意工作者打造的一整套多媒体应用,包括 iPh
125125

126126
如果你和我一样,在学生时代曾使用教育优惠购买过 Apple 的 Pro App 套装,那么你可以直接从 已购列表 中下载到这些专业应用的经典版本,包括 Final Cut Pro 10、Logic Pro X 10、Motion 5 以及 Compressor 4,在 OS X Mavericks 上继续体验 Apple 为创意工作者打造的高端工具。
127127

128-
![](https://image.stephenfang.me/mweb/proimage.stephenfang.me/mweb/image.stephenfang.me/mweb/apps.png)
128+
![](https://image.stephenfang.me/mweb/apps.png)
129129

130130
Final Cut Pro 对于专业视频编辑工作者来说一定不陌生。虽然 OS X Mavericks 时代的 Final Cut Pro 10 与当前版本在功能和性能上存在差距,但它依然具备直观的界面与强大的非线性编辑能力。尽管缺少现代版本中的 AI 自动剪辑、HDR 处理 等高级功能,但对于基础剪辑需求,它依旧可以高效完成任务,并保持 Apple 一贯流畅的用户体验。
131131

src/layouts/PostDetails.astro

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const nextPost =
9494
</article>
9595

9696
<ul class="my-8">
97-
{tags.map(tag => <Tag tag={slugifyStr(tag)} />)}
97+
{tags.map(tag => <Tag tag={slugifyStr(tag)} tagName={tag} />)}
9898
</ul>
9999

100100
<div
@@ -141,10 +141,8 @@ const nextPost =
141141
stroke-linejoin="round"
142142
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-left flex-none"
143143
>
144-
<>
145-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
146-
<path d="M15 6l-6 6l6 6" />
147-
</>
144+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
145+
<path d="M15 6l-6 6l6 6" />
148146
</svg>
149147
<div>
150148
<span>Previous Post</span>
@@ -175,10 +173,8 @@ const nextPost =
175173
stroke-linejoin="round"
176174
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-right flex-none"
177175
>
178-
<>
179-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
180-
<path d="M9 6l6 6l-6 6" />
181-
</>
176+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
177+
<path d="M9 6l6 6l-6 6" />
182178
</svg>
183179
</a>
184180
)

src/pages/tags/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let tags = getUniqueTags(posts);
1717
<Header activeNav="tags" />
1818
<Main pageTitle="Tags" pageDesc="All the tags used in posts.">
1919
<ul>
20-
{tags.map(({ tag }) => <Tag {tag} size="lg" />)}
20+
{tags.map(({ tag, tagName }) => <Tag {tag} {tagName} size="lg" />)}
2121
</ul>
2222
</Main>
2323
<Footer />

0 commit comments

Comments
 (0)