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 | ed5fe0848d18665cd3fbd6011876207b2fee61e4 (patch) | |
| tree | 6a6fefb50c40489c439552ab1fcd4c0beb94c34d /layouts/partials/components/endnotes.html | |
| parent | 8f45cd85ea4d00cd1d0bb8a13c2f70c760d32a4c (diff) | |
refactor: reuse some page components
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 }} |
