All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 1m35s
24 lines
766 B
HTML
24 lines
766 B
HTML
{{ define "main" }}
|
|
<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>
|
|
{{end}}
|
|
|
|
{{$img := resources.Get .Params.featuredimage}}
|
|
{{if $img}}
|
|
<img class="h-24 m-auto" src="{{$img.RelPermalink}}" alt="{{.Title}}" />
|
|
{{end}}
|
|
<div class="my-6 text-justify">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
|
</div>
|
|
{{ end }}
|