Fixed some bugs for publishing a first site

This commit is contained in:
Leon Mika 2026-02-18 22:38:05 +11:00
parent 77d3ff4852
commit 3591e0c723
12 changed files with 86 additions and 30 deletions

View file

@ -1,4 +1,5 @@
{{ range .Posts }}
{{ if .Meta.Title }}<h3>{{ .Meta.Title }}</h3>{{ end }}
{{ .HTML }}
<a href="{{ .Path }}">{{ format_date .Meta.Date }}</a>
<a href="{{ url_abs .Path }}">{{ format_date .Meta.Date }}</a>
{{ end }}