Swap prettier for djlint
This commit is contained in:
parent
e2fd2a13e8
commit
212ca46616
12 changed files with 150 additions and 178 deletions
|
|
@ -1,20 +1,20 @@
|
|||
{{ define "main" }}
|
||||
<article>
|
||||
<article>
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $lastmodDateHuman := .Lastmod | time.Format ":date_long" }}
|
||||
{{ $lastmodDateMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
<div class="dates">
|
||||
<p>
|
||||
Editiert:
|
||||
<time datetime="{{ $lastmodDateMachine }}"
|
||||
>{{ $lastmodDateHuman }}</time
|
||||
>
|
||||
</p>
|
||||
<p><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
|
||||
<p>
|
||||
Editiert:
|
||||
<time datetime="{{ $lastmodDateMachine }}">{{ $lastmodDateHuman }}</time>
|
||||
</p>
|
||||
<p>
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
</p>
|
||||
</div>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue