Basic CSS

This commit is contained in:
Katherina Walshe-Grey 2024-06-30 16:30:20 +01:00
parent f9722dacf7
commit 0277057723
8 changed files with 165 additions and 27 deletions

View file

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