add read time and toc

This commit is contained in:
geekifan
2025-04-21 17:20:42 +08:00
parent 99f5cf6774
commit 33048ab200
6 changed files with 75 additions and 0 deletions

View File

@ -82,6 +82,7 @@
{{ end }}
<!-- read time -->
{{ partial "read-time.html" (dict "content" .Content "prompt" true "lang" $lang) }}
</div>
</div>
@ -154,4 +155,8 @@
</div>
</div>
</article>
{{ end }}
{{ define "panel" }}
{{ partial "toc.html" . }}
{{ end }}