feat: use latex hugo template
This commit is contained in:
parent
1d12f5614d
commit
9004c27ceb
56 changed files with 1666 additions and 2 deletions
15
layouts/partials/postmeta.html
Normal file
15
layouts/partials/postmeta.html
Normal 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>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
Loading…
Add table
Add a link
Reference in a new issue