summaryrefslogtreecommitdiff
path: root/layouts/partials/components/endnotes.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-06-07 02:50:09 +0800
committerEltrac <hi@guhub.cn>2025-06-07 02:50:09 +0800
commitf8f728edbfeecdfeb5e7b3f61994af6028a01680 (patch)
treec26c78a7ebbbd86b3312627a431e95545a367a69 /layouts/partials/components/endnotes.html
parent0660eba2d965e07e72496616ff3527aa6d2dd506 (diff)
parent2108c84a3efdbd1d0583283fa53bc9851e3a5e63 (diff)
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Former-commit-id: 92b9414863c95a4b034ca2687ab326484af52496
Diffstat (limited to 'layouts/partials/components/endnotes.html')
-rw-r--r--layouts/partials/components/endnotes.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/components/endnotes.html b/layouts/partials/components/endnotes.html
new file mode 100644
index 00000000..e7245ad4
--- /dev/null
+++ b/layouts/partials/components/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 }}