diff options
| author | JustZvan <justzvan@justzvan.xyz> | 2026-03-24 20:14:42 +0100 |
|---|---|---|
| committer | JustZvan <justzvan@justzvan.xyz> | 2026-03-24 20:14:42 +0100 |
| commit | a60a600522b9c638cf06fc484d80209dfb7d5c20 (patch) | |
| tree | 9801ae967ac65724333abf15a35d445a05167095 /themes/JustZvan/layouts/posts/single.html | |
feat: initial commit
Diffstat (limited to 'themes/JustZvan/layouts/posts/single.html')
| -rw-r--r-- | themes/JustZvan/layouts/posts/single.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/JustZvan/layouts/posts/single.html b/themes/JustZvan/layouts/posts/single.html new file mode 100644 index 0000000..2ead5ce --- /dev/null +++ b/themes/JustZvan/layouts/posts/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + <article class="post-page"> + <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 }} + </article> +{{ end }}
\ No newline at end of file |