feat: use latex hugo template

This commit is contained in:
Youwen Wu 2025-06-21 02:30:42 -07:00
parent 1d12f5614d
commit 9004c27ceb
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
56 changed files with 1666 additions and 2 deletions

View file

@ -0,0 +1,15 @@
<span class="meta-post">
{{- $lastmod := .Lastmod.Format ( .Site.Params.dateformat | default "Jan 2, 2006") }}
{{- $pubdate := .PublishDate.Format ( .Site.Params.dateformat | default "Jan 2, 2006") }}
<i class="fa fa-calendar-alt"></i>
{{ $pubdate }}
{{- if ne $lastmod $pubdate }}
({{ $lastmod }})
{{- end }}
{{ if .Params.categories }}
<br><i class="fa fa-folder-open"></i>
{{ range .Params.categories }}
<a href="{{ $.Site.BaseURL }}/categories/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
{{ end }}
</span>