summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-01 10:08:22 +0800
committerEltrac <hi@guhub.cn>2025-04-01 10:08:22 +0800
commit9b8ac5fe0115f4b7609ca6b990a35077c8221c45 (patch)
tree50683db3234c9f7f85b93e9b382163e6a0b8e00d /layouts/_default/single.html
parentb0372cffec713c52497ef31941f2e6b49c614b9b (diff)
feat: new home page
- new post list structure and style - move categories page link to postnav, a new navigation component used between homepage and categories page - search anywhere instruction - move posts archive page link to top navigation - some more skeletons!
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5b64f3bc..781270f9 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -50,7 +50,8 @@
</header>
<!-- Post Content -->
- <div id="post-content" class="post-content markdown-body">
+ <div id="post-content" class="post-content markdown-body"
+ style="view-transition-name: post-content-{{ .File.UniqueID }}">
{{ if .Params.toc }}
<div id="toc-container"><div id="toc"></div></div>
{{ end }}