diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-12-21 21:34:02 -0330 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-12-21 21:34:02 -0330 |
| commit | ad1bb9787eb2317571cd3d1bfcd5a8b22df4803f (patch) | |
| tree | 9b5dba33f39458f9bec6824db59f26870251d521 /themes/aoidh/layouts/page.html | |
| download | samanthony.xyz-ad1bb9787eb2317571cd3d1bfcd5a8b22df4803f.zip | |
init hugov1.0.0
Diffstat (limited to 'themes/aoidh/layouts/page.html')
| -rw-r--r-- | themes/aoidh/layouts/page.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/aoidh/layouts/page.html b/themes/aoidh/layouts/page.html new file mode 100644 index 0000000..7e286c8 --- /dev/null +++ b/themes/aoidh/layouts/page.html @@ -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 }} |