Initial commit
This commit is contained in:
14
layouts/_default/single.html
Normal file
14
layouts/_default/single.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{ define "main" }}
|
||||
<div class="m-auto max-w-6xl py-20">
|
||||
<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>
|
||||
|
||||
<div class="my-6 text-justify">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user