From 0bde9892b0746c2474751d28965555072d53fb28 Mon Sep 17 00:00:00 2001 From: Drew Date: Fri, 21 Mar 2025 16:34:40 -0600 Subject: [PATCH] adds default single page apart from articles --- assets/scss/components/_wompum.scss | 1 + .../ehmke-contributor_covenant.md | 0 .../kiessel-good_market.md | 0 .../littauer-constructed_languages.md | 0 .../mannan-diplomatic_protocols.md | 0 .../zargham-ultimate_frisbee.md | 0 layouts/_default/single.html | 17 ++++---------- layouts/articles/single.html | 23 +++++++++++++++++++ layouts/index.html | 2 +- 9 files changed, 29 insertions(+), 14 deletions(-) rename content/{oral-histories => articles}/ehmke-contributor_covenant.md (100%) rename content/{oral-histories => articles}/kiessel-good_market.md (100%) rename content/{oral-histories => articles}/littauer-constructed_languages.md (100%) rename content/{oral-histories => articles}/mannan-diplomatic_protocols.md (100%) rename content/{oral-histories => articles}/zargham-ultimate_frisbee.md (100%) create mode 100644 layouts/articles/single.html diff --git a/assets/scss/components/_wompum.scss b/assets/scss/components/_wompum.scss index 3f75d95..ebe8dca 100644 --- a/assets/scss/components/_wompum.scss +++ b/assets/scss/components/_wompum.scss @@ -11,6 +11,7 @@ width: 100%; } + .single-default &-grid, .single-article &-grid { gap: 1rem; } diff --git a/content/oral-histories/ehmke-contributor_covenant.md b/content/articles/ehmke-contributor_covenant.md similarity index 100% rename from content/oral-histories/ehmke-contributor_covenant.md rename to content/articles/ehmke-contributor_covenant.md diff --git a/content/oral-histories/kiessel-good_market.md b/content/articles/kiessel-good_market.md similarity index 100% rename from content/oral-histories/kiessel-good_market.md rename to content/articles/kiessel-good_market.md diff --git a/content/oral-histories/littauer-constructed_languages.md b/content/articles/littauer-constructed_languages.md similarity index 100% rename from content/oral-histories/littauer-constructed_languages.md rename to content/articles/littauer-constructed_languages.md diff --git a/content/oral-histories/mannan-diplomatic_protocols.md b/content/articles/mannan-diplomatic_protocols.md similarity index 100% rename from content/oral-histories/mannan-diplomatic_protocols.md rename to content/articles/mannan-diplomatic_protocols.md diff --git a/content/oral-histories/zargham-ultimate_frisbee.md b/content/articles/zargham-ultimate_frisbee.md similarity index 100% rename from content/oral-histories/zargham-ultimate_frisbee.md rename to content/articles/zargham-ultimate_frisbee.md diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 17ffda6..8af0a99 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,21 +1,12 @@ {{ define "main" }} -
+
{{ partial "article-wompum.html" . }}
-
- -
-

{{ .Title }}

- {{ .Content }} -
+
+

{{ .Title }}

+ {{ .Content }}
{{ end }} \ No newline at end of file diff --git a/layouts/articles/single.html b/layouts/articles/single.html new file mode 100644 index 0000000..43f18f1 --- /dev/null +++ b/layouts/articles/single.html @@ -0,0 +1,23 @@ +{{ define "main" }} + +
+ +
{{ partial "article-wompum.html" . }}
+ +
+ +
+

{{ .Title }}

+ {{ .Content }} +
+
+
+{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index b3e98c6..e9d6db0 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{ define "main" }}
    - {{ partial "article-list.html" (dict "Pages" (where .Site.RegularPages "Section" "oral-histories")) }} + {{ partial "article-list.html" (dict "Pages" (where .Site.RegularPages "Section" "articles")) }}