Hugo theme skeleton

This commit is contained in:
DarkCat09 2023-11-04 11:44:43 +04:00
parent 7c81a5a0dd
commit 4e77e64ab2
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3
19 changed files with 249 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }}