Center footer menus
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 18s
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 18s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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>
|
||||
{{$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 class="py-6">
|
||||
<div class="py-6 text-center">
|
||||
<ul>
|
||||
{{ range where site.RegularPages "Section" "pages" }}
|
||||
<li>
|
||||
@@ -16,7 +16,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="py-6">
|
||||
<div class="py-6 text-center">
|
||||
<ul>
|
||||
<li><a href="https://fit-formation.fr/">FIT</a></li>
|
||||
<li><a href="https://www.solidarauto43.org/">Solidarauto 43</a></li>
|
||||
|
||||
Reference in New Issue
Block a user