From 15157368279a5fda81f52592b94244507295c490 Mon Sep 17 00:00:00 2001 From: Ronan Chilvers Date: Fri, 13 Mar 2026 17:15:27 +0000 Subject: [PATCH 1/2] Add Campaign Settings section and menu link --- config/_default/menus.yaml | 14 +++----------- content/campaign-settings/_index.md | 5 +++++ content/campaign-settings/after-the-end/_index.md | 5 +++++ 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 content/campaign-settings/_index.md create mode 100644 content/campaign-settings/after-the-end/_index.md diff --git a/config/_default/menus.yaml b/config/_default/menus.yaml index 6a38b9e2..982f2aee 100644 --- a/config/_default/menus.yaml +++ b/config/_default/menus.yaml @@ -1,22 +1,14 @@ --- main: - # - name: Home - # pageRef: "/" - # weight: 1 # - name: Twelve Duchies # pageRef: "/categories/twelve-duchies/" # weight: 1 + - name: Campaign Settings + pageRef: "/campaign-settings/" + weight: 1 - name: Categories pageRef: "/categories/" weight: 2 - # - name: Posts - # pageRef: "categories/" - # weight: 3 - name: Tags pageRef: "/tags/" weight: 4 - # - name: About - # pageRef: "about/" - # weight: 5 - # - name: Subscribe - # pageRef: "index.xml" diff --git a/content/campaign-settings/_index.md b/content/campaign-settings/_index.md new file mode 100644 index 00000000..81e7e103 --- /dev/null +++ b/content/campaign-settings/_index.md @@ -0,0 +1,5 @@ +--- +title: Campaign Settings +draft: false +type: page +--- diff --git a/content/campaign-settings/after-the-end/_index.md b/content/campaign-settings/after-the-end/_index.md new file mode 100644 index 00000000..34f25d32 --- /dev/null +++ b/content/campaign-settings/after-the-end/_index.md @@ -0,0 +1,5 @@ +--- +title: After The End +draft: false +type: page +--- From d20cc139cc49697d7050e1d9bb2b08e9c8706000 Mon Sep 17 00:00:00 2001 From: Ronan Chilvers Date: Fri, 13 Mar 2026 21:05:17 +0000 Subject: [PATCH 2/2] Rename "Campaign Settings" section to "Worlds" - Update menu item and page references to "Worlds" - Move content to new "worlds" section and add index page - Adjust CSS for column centering - Add worlds page layout --- assets/css/cols.css | 1 + config/_default/menus.yaml | 4 ++-- content/campaign-settings/_index.md | 5 ----- .../after-the-end/_index.md | 0 content/worlds/index.md | 5 +++++ layouts/section.html | 2 +- layouts/worlds/page.html | 18 ++++++++++++++++++ 7 files changed, 27 insertions(+), 8 deletions(-) delete mode 100644 content/campaign-settings/_index.md rename content/{campaign-settings => worlds}/after-the-end/_index.md (100%) create mode 100644 content/worlds/index.md create mode 100644 layouts/worlds/page.html diff --git a/assets/css/cols.css b/assets/css/cols.css index 103f596c..d8794eaa 100644 --- a/assets/css/cols.css +++ b/assets/css/cols.css @@ -7,6 +7,7 @@ .col { flex: 1 1 auto; display: flex; + text-align: center; justify-content: center; flex-direction: column; figure { diff --git a/config/_default/menus.yaml b/config/_default/menus.yaml index 982f2aee..6a5eb1b3 100644 --- a/config/_default/menus.yaml +++ b/config/_default/menus.yaml @@ -3,8 +3,8 @@ main: # - name: Twelve Duchies # pageRef: "/categories/twelve-duchies/" # weight: 1 - - name: Campaign Settings - pageRef: "/campaign-settings/" + - name: Worlds + pageRef: "/worlds/" weight: 1 - name: Categories pageRef: "/categories/" diff --git a/content/campaign-settings/_index.md b/content/campaign-settings/_index.md deleted file mode 100644 index 81e7e103..00000000 --- a/content/campaign-settings/_index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Campaign Settings -draft: false -type: page ---- diff --git a/content/campaign-settings/after-the-end/_index.md b/content/worlds/after-the-end/_index.md similarity index 100% rename from content/campaign-settings/after-the-end/_index.md rename to content/worlds/after-the-end/_index.md diff --git a/content/worlds/index.md b/content/worlds/index.md new file mode 100644 index 00000000..e2f37f10 --- /dev/null +++ b/content/worlds/index.md @@ -0,0 +1,5 @@ +--- +title: Worlds Of Adventure +draft: false +# type: page +--- diff --git a/layouts/section.html b/layouts/section.html index b6e5d80c..a852a623 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -13,4 +13,4 @@

{{ .Title }}

{{ end }} - {{ end }} +{{ end }} diff --git a/layouts/worlds/page.html b/layouts/worlds/page.html new file mode 100644 index 00000000..602134c0 --- /dev/null +++ b/layouts/worlds/page.html @@ -0,0 +1,18 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+
+
+
+
+ foo +
+
+ foo +
+
+ foo +
+
+{{ end }}