From bfe5682b171d71f570860ec1663c5851d2e10209 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood NKDAgility.com" Date: Thu, 5 Jun 2025 21:53:18 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat(graveyard):=20restructure?= =?UTF-8?q?=20graveyard=20content=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rename and refactor graveyard content template for better organization - remove unused graveyard index markdown file - add new list and single layout templates for graveyard entries 🔧 chore(hugo): update hugo configuration - disable default taxonomies for streamlined content management 💄 style(layouts): adjust base layout and styling - add padding to header section for improved visual spacing - comment out unused link in index layout for future use --- site/content/{graveyard => }/_content.gotmpl | 4 ++ site/content/graveyard/_index.md | 6 --- site/hugo.yaml | 3 ++ site/layouts/_default/baseof.html | 4 +- site/layouts/_default/list.html | 8 ++++ site/layouts/_default/single.html | 44 ++++++++++++++++++++ site/layouts/index.html | 1 + 7 files changed, 62 insertions(+), 8 deletions(-) rename site/content/{graveyard => }/_content.gotmpl (97%) delete mode 100644 site/content/graveyard/_index.md create mode 100644 site/layouts/_default/list.html create mode 100644 site/layouts/_default/single.html diff --git a/site/content/graveyard/_content.gotmpl b/site/content/_content.gotmpl similarity index 97% rename from site/content/graveyard/_content.gotmpl rename to site/content/_content.gotmpl index add53bf..2eaea40 100644 --- a/site/content/graveyard/_content.gotmpl +++ b/site/content/_content.gotmpl @@ -1,3 +1,5 @@ + {{/* + {{ $deaths := .Site.Data.register }} {{ if $deaths }} {{ range $deaths }} @@ -18,3 +20,5 @@ {{ else }} {{ warnf "No deaths found in register file." }} {{ end }} + + */}} \ No newline at end of file diff --git a/site/content/graveyard/_index.md b/site/content/graveyard/_index.md deleted file mode 100644 index da7ea6a..0000000 --- a/site/content/graveyard/_index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Graveyard" -menus: - - main - - footer ---- diff --git a/site/hugo.yaml b/site/hugo.yaml index 2f44ba4..534c231 100644 --- a/site/hugo.yaml +++ b/site/hugo.yaml @@ -8,6 +8,9 @@ summaryLength: 30 enableRobotsTXT: true +# Disable default taxonomies (tags and categories) +taxonomies: {} + # Site-wide parameters params: description: "Killed by Scrum.org" diff --git a/site/layouts/_default/baseof.html b/site/layouts/_default/baseof.html index 872c6e1..fb3438a 100644 --- a/site/layouts/_default/baseof.html +++ b/site/layouts/_default/baseof.html @@ -29,13 +29,13 @@ {{ end }} {{- block "header" . }} -
+

Killed by Scrum.org

- {{- end }} + {{- end }}
{{- block "main" . }}
main
diff --git a/site/layouts/_default/list.html b/site/layouts/_default/list.html new file mode 100644 index 0000000..2ba7a53 --- /dev/null +++ b/site/layouts/_default/list.html @@ -0,0 +1,8 @@ +{{- define "main" }} +
+ {{- .Content }} +
+{{- end }} +{{- define "template" }} + _default/list.html +{{- end }} diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html new file mode 100644 index 0000000..1949bb1 --- /dev/null +++ b/site/layouts/_default/single.html @@ -0,0 +1,44 @@ +{{- define "main" }} +
+
+
+

{{ .Title }}

+ {{ if .Date }} +
+ +
+ {{ end }} +
+ +
+ {{ .Content }} +
+ + {{ if .Params.type }} +
+ Type: {{ .Params.type }} +
+ {{ end }} + + +
+
+{{- end }} +{{- define "template" }} + _default/single.html +{{- end }} diff --git a/site/layouts/index.html b/site/layouts/index.html index a42d918..a931bd5 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -36,6 +36,7 @@ {{ else }} Unknown {{ end }} + {{/* more */}}
From aba4e3872b55e03e7f29bb77dc8cb9e815766d35 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood NKDAgility.com" Date: Thu, 5 Jun 2025 21:59:03 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=A8=20feat(staticwebapp):=20add=20can?= =?UTF-8?q?ary=20configuration=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - create initial staticwebapp.config.canary.json file - set up for future configuration of canary deployments --- staticwebapp.config.canary.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 staticwebapp.config.canary.json diff --git a/staticwebapp.config.canary.json b/staticwebapp.config.canary.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/staticwebapp.config.canary.json @@ -0,0 +1 @@ +{}