diff options
| author | Eltrac <hi@guhub.cn> | 2025-06-06 14:53:45 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-06-06 14:53:45 +0800 |
| commit | 9855baa4d1dea96fc4516283bf66a98f10a29eaa (patch) | |
| tree | 6a6fefb50c40489c439552ab1fcd4c0beb94c34d /layouts/partials/components/endnotes.html | |
| parent | b95d3e0b2b90bbb6235da81e84b6eefc63ee1da1 (diff) | |
refactor: reuse some page components
Former-commit-id: ed5fe0848d18665cd3fbd6011876207b2fee61e4
Diffstat (limited to 'layouts/partials/components/endnotes.html')
| -rw-r--r-- | layouts/partials/components/endnotes.html | 10 |
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 }} |
