From f7ccee9be8569eb2efc2319554e49757f550c77f Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Tue, 26 Sep 2023 23:26:39 -0400 Subject: update archetypes --- layouts/post/single.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 layouts/post/single.html (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..306df48 --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+
{{ .Date | time.Format ":date_full" }}
+
+
+ {{- .Content -}} +
+
+{{ end }} \ No newline at end of file -- cgit v1.1 From b179606dac7cf36c490512146ad8ce898f7800b2 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Wed, 27 Sep 2023 21:50:42 -0400 Subject: theme tweaks --- layouts/post/single.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 306df48..432b9df 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,11 +1,11 @@ {{ define "main" }} -
-
+
+

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-
-
- {{- .Content -}} -
-
-{{ end }} \ No newline at end of file +
+
+ {{- .Content -}} +
+
+{{ end }} -- cgit v1.1 From 93a4ba55f2159e69aa1fcdaa1cf87c09e7455017 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Tue, 3 Oct 2023 23:44:31 -0400 Subject: add changelog, assets, new partial --- layouts/post/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 432b9df..f2a333e 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -4,7 +4,7 @@

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-
+
{{- .Content -}}
-- cgit v1.1 From 6e6412e4a693ddc2da5e4611363fb882ad6497be Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Thu, 12 Oct 2023 08:08:37 -0400 Subject: Switch to light theme. remove articles. --- layouts/post/single.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index f2a333e..166ecd6 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,9 +1,8 @@ {{ define "main" }} -
-
+

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-
+
{{- .Content -}}
-- cgit v1.1 From 2545016f8d6b63b0d857fc20fdd7276d2f0fc2a9 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Thu, 12 Oct 2023 23:40:26 -0400 Subject: Layout refinements. add config, disclaimer --- layouts/post/single.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 166ecd6..25bfc23 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,10 +1,13 @@ {{ define "main" }} + {{ if not .Params.dontDisclaim }} + {{ partial "disclaimer" . }} + {{ end }}

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
+
{{ .Lastmod | time.Format ":date_full" }}
{{- .Content -}}
-
{{ end }} -- cgit v1.1 From cf6c17546bc40d41c169279ad7b8f60bf0888ab3 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Fri, 13 Oct 2023 21:26:24 -0400 Subject: new templates, and refinements --- layouts/post/single.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 25bfc23..2c4c23e 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,10 +2,19 @@ {{ if not .Params.dontDisclaim }} {{ partial "disclaimer" . }} {{ end }} + {{ with .GetTerms "categories" }} + {{ (index . 0).RelPermalink }} + {{ end }}

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-
{{ .Lastmod | time.Format ":date_full" }}
+ {{ with .Params.categories }} +
+ {{ range $value := . }} + {{ $value }} + {{ end }} +
+ {{ end }}
{{- .Content -}} -- cgit v1.1 From 6bfd84ae2c7aad006c3bc84cdce9aebf894cbe62 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 20 Oct 2023 22:49:31 -0400 Subject: add summary for books --- layouts/post/single.html | 3 --- 1 file changed, 3 deletions(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 2c4c23e..ca0f556 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,9 +2,6 @@ {{ if not .Params.dontDisclaim }} {{ partial "disclaimer" . }} {{ end }} - {{ with .GetTerms "categories" }} - {{ (index . 0).RelPermalink }} - {{ end }}

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-- cgit v1.1