From da7a80e34660456a12f882de7eeaf94ddaab5d44 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 2 Jan 2026 18:05:06 -0330 Subject: article: tools-i-use --- layouts/articles/home.html | 7 ------- layouts/list.html | 21 +++++++++++++++++++++ layouts/page.html | 11 ++++++----- layouts/section.html | 8 -------- layouts/taxonomy.html | 7 ------- 5 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 layouts/articles/home.html create mode 100644 layouts/list.html delete mode 100644 layouts/section.html delete mode 100644 layouts/taxonomy.html (limited to 'layouts') diff --git a/layouts/articles/home.html b/layouts/articles/home.html deleted file mode 100644 index 46ab1df..0000000 --- a/layouts/articles/home.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} - {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ .Summary }} - {{ end }} -{{ end }} diff --git a/layouts/list.html b/layouts/list.html new file mode 100644 index 0000000..cc6c7be --- /dev/null +++ b/layouts/list.html @@ -0,0 +1,21 @@ +{{ define "main" }} +

{{ .Title }}

+ + + + + + + + + {{ range .Pages }} + {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} + {{- $dateHuman := .Date | time.Format "2006-01-02" -}} + + + + + {{ end }} + +
DateTitle
{{ .LinkTitle }}
+{{ end }} diff --git a/layouts/page.html b/layouts/page.html index 7e286c8..8b8eb16 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,9 +1,10 @@ {{ define "main" }} -

{{ .Title }}

- - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - + {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} + {{- $dateHuman := .Date | time.Format "2006-01-02" -}} +
+

{{ .Title }}

+ +
{{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} diff --git a/layouts/section.html b/layouts/section.html deleted file mode 100644 index 50fc92d..0000000 --- a/layouts/section.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ .Summary }} - {{ end }} -{{ end }} diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html deleted file mode 100644 index c2e7875..0000000 --- a/layouts/taxonomy.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} -{{ end }} -- cgit v1.2.3