summaryrefslogtreecommitdiff
path: root/layouts/_partials/posts/endnotes.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:26:28 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:26:28 +0800
commit29af8b6c2bd89c1966512b4305af345b8ee1ef82 (patch)
tree07a4801791db7d6a4670d53411f0689ec0090bfe /layouts/_partials/posts/endnotes.html
parent44c7def3f6958550ccf965971f1819c1d6c514f1 (diff)
refactor: clearer division of each partial and better folder structure
Diffstat (limited to 'layouts/_partials/posts/endnotes.html')
-rw-r--r--layouts/_partials/posts/endnotes.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/_partials/posts/endnotes.html b/layouts/_partials/posts/endnotes.html
new file mode 100644
index 00000000..e7245ad4
--- /dev/null
+++ b/layouts/_partials/posts/endnotes.html
@@ -0,0 +1,10 @@
+{{ if .Params.endnotes }}
+<hr>
+<div id="post-endnotes">
+ <ul>
+ {{ range .Params.endnotes }}
+ <li>{{ . | markdownify }}</li>
+ {{ end }}
+ </ul>
+</div>
+{{ end }}