diff options
| -rw-r--r-- | content/featured.md | 2 | ||||
| -rw-r--r-- | layouts/_partials/items/post.html | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/content/featured.md b/content/featured.md index 14e6c587..37964861 100644 --- a/content/featured.md +++ b/content/featured.md @@ -2,5 +2,3 @@ title: 精选 layout: featured --- - -这是博客的精选集,我会在这里列出我自认为写得还不错,或者收到较好反响的文章。如果你想要了解本博客的风格和我的主要观点,读一读这里的文章是个好选择。我希望未来的自己在读这些精选文章时,收获的不是羞耻感,而是从过去的自己那里得到帮助和启发。 diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html index 64606f04..5527ea6c 100644 --- a/layouts/_partials/items/post.html +++ b/layouts/_partials/items/post.html @@ -30,7 +30,7 @@ </header> {{ if or $showSummary .ctx.Params.description }} <div class="markdown-body text-size-lg leading-relaxed" - style="view-transition-name: post-content-{{ .File.UniqueID }}"> + style="view-transition-name: post-content-{{ .ctx.File.UniqueID }}"> {{ if $showSummary }} {{ .ctx.Summary }} {{ else if .ctx.Params.description }} |
