summaryrefslogtreecommitdiff
path: root/layouts/partials/components/endnotes.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-06-06 14:53:45 +0800
committerEltrac <hi@guhub.cn>2025-06-06 14:53:45 +0800
commited5fe0848d18665cd3fbd6011876207b2fee61e4 (patch)
tree6a6fefb50c40489c439552ab1fcd4c0beb94c34d /layouts/partials/components/endnotes.html
parent8f45cd85ea4d00cd1d0bb8a13c2f70c760d32a4c (diff)
refactor: reuse some page components
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 }}