feat: complete restyling of basic components

This commit is contained in:
2025-04-28 15:42:51 +02:00
parent 30aeb6578e
commit 807a1595d8
20 changed files with 314 additions and 63 deletions

View File

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