Center footer menus
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 18s

This commit is contained in:
2025-02-24 13:43:47 +01:00
parent a1f133027b
commit 9b78ffcb28
2 changed files with 6 additions and 4 deletions

View File

@@ -1,10 +1,12 @@
{{ define "main" }}
<div class="m-auto max-w-6xl py-20 px-4">
<h1 class="text-2xl text-mms-nightblue font-bold">{{ .Title }}</h1>
{{ if ne .Type "pages"}}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time class="text-mms-turquoise font-bold" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{end}}
<div class="my-6 text-justify">
{{ .Content }}