Creates the clean theme and adds some test information

This commit is contained in:
Miguel de la Cruz 2024-01-05 13:02:56 +01:00
parent 70807fd674
commit 5772a3346b
29 changed files with 315 additions and 1 deletions

View file

@ -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 }}