flake: add treefmt, reorganize flake, format using treefmt
This commit is contained in:
parent
967b613d91
commit
12aa7125b5
17 changed files with 187 additions and 123 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{{ define "main" }}
|
||||
<article>
|
||||
{{ $dateMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Lastmod | time.Format "2006-01-02" }}
|
||||
{{ $dateMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" }} {{
|
||||
$dateHuman := .Lastmod | time.Format "2006-01-02" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
<br>
|
||||
<br />
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
|
|
@ -11,5 +11,4 @@
|
|||
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue