Modifs Amandine
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 1m54s
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 1m54s
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<div class="m-auto max-w-6xl py-20 px-4">
|
||||
<h1 class="text-2xl text-mms-nightblue font-bold">{{ .Title }}</h1>
|
||||
<div class="m-auto max-w-6xl px-4">
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
</div>
|
||||
<div class="m-auto max-w-6xl py-12 px-4">
|
||||
|
||||
{{ if ne .Type "pages"}}
|
||||
<h1 class="text-2xl text-mms-nightblue font-bold">{{ .Title }}</h1>
|
||||
{{ $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>
|
||||
|
||||
Reference in New Issue
Block a user