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" }} {{ define "main" }}
<div class="m-auto max-w-6xl py-20 px-4"> <div class="m-auto max-w-6xl py-20 px-4">
<h1 class="text-2xl text-mms-nightblue font-bold">{{ .Title }}</h1> <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" }} {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }} {{ $dateHuman := .Date | time.Format ":date_long" }}
<time class="text-mms-turquoise font-bold" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> <time class="text-mms-turquoise font-bold" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{end}}
<div class="my-6 text-justify"> <div class="my-6 text-justify">
{{ .Content }} {{ .Content }}

View File

@@ -2,9 +2,9 @@
<div class="mx-auto grid max-w-2xl auto-rows-fr grid-cols-1 gap-8 lg:mx-0 lg:max-w-6xl lg:grid-cols-3"> <div class="mx-auto grid max-w-2xl auto-rows-fr grid-cols-1 gap-8 lg:mx-0 lg:max-w-6xl lg:grid-cols-3">
<div> <div>
{{$img := resources.Get "images/logo-mms43-white.svg"}} {{$img := resources.Get "images/logo-mms43-white.svg"}}
<img class="h-32 w-auto" src="{{$img.RelPermalink}}" /> <img class="h-32 w-auto m-auto" src="{{$img.RelPermalink}}" />
</div> </div>
<div class="py-6"> <div class="py-6 text-center">
<ul> <ul>
{{ range where site.RegularPages "Section" "pages" }} {{ range where site.RegularPages "Section" "pages" }}
<li> <li>
@@ -16,7 +16,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="py-6"> <div class="py-6 text-center">
<ul> <ul>
<li><a href="https://fit-formation.fr/">FIT</a></li> <li><a href="https://fit-formation.fr/">FIT</a></li>
<li><a href="https://www.solidarauto43.org/">Solidarauto 43</a></li> <li><a href="https://www.solidarauto43.org/">Solidarauto 43</a></li>