add blog post, blog UI still hidden

This commit is contained in:
2024-10-22 14:54:54 +03:00
parent 9664764db5
commit a094570ce0
5 changed files with 108 additions and 22 deletions
+10
View File
@@ -0,0 +1,10 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Pages.ByPublishDate.Reverse }}
<p>
<a href="{{ .RelPermalink }}">{{ .Title }} {{ .Date | time.Format "January 2, 2006" }}</a>
</p>
{{ end }}
{{ end }}