diff options
| -rw-r--r-- | layouts/page.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/layouts/page.html b/layouts/page.html index 0064f5a..6456880 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,12 +1,20 @@ {{ define "main" }} -<article class="prose leading-relaxed"> - <h1>{{ .Title }}</h1> +<article class="h-entry prose leading-relaxed"> + <h1 class="p-name">{{ .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 class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - {{ .Content }} + <div class="e-content"> + {{ .Content }} + </div> {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} + + <div class="h-card" style="display: none;"> + <img class="u-photo" + src="https://r2.eltr.ac/homepage/once-drowned-koala-king.jpg" /> + <a class="p-name p-url" href="https://www.eltr.ac">Eltrac</a> + </div> </article> {{ end }} |
