diff --git a/.github/workflows/audit-only.yml b/.github/workflows/audit-only.yml
index bdc36d3..3fb9dfd 100644
--- a/.github/workflows/audit-only.yml
+++ b/.github/workflows/audit-only.yml
@@ -21,9 +21,9 @@ jobs:
with:
base-url: "https://example.com/"
build-for-downstream: true
- config-file: hugo.toml
+ config-file: tests/config/hugo.toml
hugo-version: latest
- source-directory: tests/config
+ # source-directory: tests/config
- name: Validate HTML and CSS of website
uses: wildtechgarden/validator-html-action@main
with:
diff --git a/assets/wtg-shell/css/site-cacheable/20-colour/60-page-header-footer.css b/assets/wtg-shell/css/site-cacheable/20-colour/60-page-header-footer.css
index d9d7714..8f68b56 100644
--- a/assets/wtg-shell/css/site-cacheable/20-colour/60-page-header-footer.css
+++ b/assets/wtg-shell/css/site-cacheable/20-colour/60-page-header-footer.css
@@ -1,9 +1,5 @@
/* CSS colours for the page header and footer */
-header:first-of-type nav details {
- color: var(--header-nav-link-color);
-}
-
header:first-of-type > details:first-of-type {
background-color: var(--header-nav-background-color);
border-color: var(--header-nav-border-color);
diff --git a/assets/wtg-shell/css/site-cacheable/40-styles/60-page-header-footer.css b/assets/wtg-shell/css/site-cacheable/40-styles/60-page-header-footer.css
index 05cfbd8..8f44089 100644
--- a/assets/wtg-shell/css/site-cacheable/40-styles/60-page-header-footer.css
+++ b/assets/wtg-shell/css/site-cacheable/40-styles/60-page-header-footer.css
@@ -16,13 +16,6 @@ header:first-of-type > nav {
padding-top: .3em;
}
-header:first-of-type nav details summary {
- border: solid 1px;
- list-style-type: none;
- padding-left: .4em;
- padding-right: .4em;
-}
-
header:first-of-type > details:first-of-type > summary {
list-style-type: none;
text-align: right;
@@ -74,10 +67,6 @@ header:first-of-type nav menu a {
text-decoration: none;
}
-header:first-of-type nav details > summary + div a {
- text-decoration: none;
-}
-
header:first-of-type nav > menu:first-of-type > li a {
text-overflow: ellipsis;
white-space: nowrap;
diff --git a/assets/wtg-shell/css/site-cacheable/50-layout/40-page-header-footer.css b/assets/wtg-shell/css/site-cacheable/50-layout/40-page-header-footer.css
index 03ecfb4..0d7a666 100644
--- a/assets/wtg-shell/css/site-cacheable/50-layout/40-page-header-footer.css
+++ b/assets/wtg-shell/css/site-cacheable/50-layout/40-page-header-footer.css
@@ -43,7 +43,16 @@ header:first-of-type > details:first-of-type + nav {
position: fixed;
}
-header:first-of-type nav details summary {
+header:first-of-type nav > div {
+ border: none;
+ list-style-type: none;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding-left: .4em;
+ padding-right: .4em;
+}
+
+header:first-of-type nav details > div {
border: solid 2px;
border-radius: 8px;
list-style-type: none;
@@ -98,11 +107,6 @@ body > div:last-of-type > footer:last-of-type > div:nth-of-type(3):nth-last-of-t
text-decoration: none;
}
-header:first-of-type > details:first-of-type[open] + nav details summary {
- margin-bottom: .6em;
- margin-top: .6em;
-}
-
body > div:last-of-type > footer:last-of-type {
align-items: center;
column-gap: .6em;
@@ -120,17 +124,6 @@ body > div:last-of-type > footer:last-of-type {
z-index: 7;
}
-header:first-of-type > details:first-of-type[open] + nav > details[open] > summary + div > span {
- display: list-item;
- list-style-type: none;
-}
-
-header:first-of-type > details:first-of-type[open] + nav > details[open] > summary + div {
- display: inline-block;
- margin-top: 1em;
- vertical-align: middle;
-}
-
header:first-of-type > details:first-of-type + nav menu {
padding-left: 0;
}
@@ -145,7 +138,7 @@ header:first-of-type > details:first-of-type[open] + nav menu li {
}
@media screen and (width >= 700px) and (resolution < 2dppx), screen and (width >= 1200px) and (resolution >= 2dppx) {
- header:first-of-type > nav details {
+ header:first-of-type > nav > div {
align-self: center;
margin-left: auto;
}
@@ -159,14 +152,6 @@ header:first-of-type > details:first-of-type[open] + nav menu li {
padding: 0 .6em;
}
- header:first-of-type > nav details[open] > div {
- border-right: solid 2px;
- display: inline;
- flex-flow: row nowrap;
- margin-left: 0;
- padding-right: .8em;
- }
-
header:first-of-type > nav menu {
flex: content 0 0;
margin-bottom: 0;
@@ -212,22 +197,6 @@ header:first-of-type > details:first-of-type[open] + nav menu li {
margin-right: 1em;
}
- header:first-of-type > nav details[open] span {
- display: inline-block;
- }
-
- header:first-of-type > nav details[open] span a {
- display: block;
- height: 100%;
- padding-right: .4em;
- width: 100%;
- }
-
- header:first-of-type > nav details[open] span + span {
- border-left: solid 2px;
- padding-right: .6em;
- }
-
header:first-of-type > nav menu:nth-of-type(2) li:last-of-type {
margin-left: 1em;
margin-right: 0;
@@ -254,18 +223,4 @@ header:first-of-type > details:first-of-type[open] + nav menu li {
width: 100%;
z-index: 7;
}
-
- header:first-of-type > nav details[open] {
- display: block;
- text-align: right;
- width: 100%;
- }
-
- header:first-of-type > nav details summary {
- margin-right: 1em;
- }
-
- header:first-of-type > nav details[open] summary {
- display: inline;
- }
}
diff --git a/layouts/_default/about.html b/layouts/_default/about.html
index ad349aa..13666a0 100644
--- a/layouts/_default/about.html
+++ b/layouts/_default/about.html
@@ -14,7 +14,9 @@
{{- end }}
Tags
+ {{- if where (site.GetPage "/").AlternativeOutputFormats "Name" "eq" "rss" }}
RSS feed
+ {{- end }}
{{- end -}}
{{ end }}
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
deleted file mode 100644
index 0f12cb0..0000000
--- a/layouts/_default/rss.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-{{- printf `` | safeHTML }}
-
-
-{{- if templates.Exists "partials/wtg-theme/output/rss-channel.xml" -}}
-{{- partialCached "wtg-theme/output/rss-channel.xml" . -}}
-{{- else -}}
-{{- partialCached "wtg-shell/output/rss-channel.xml" . -}}
-{{- end }}
-
-
diff --git a/layouts/partials/wtg-shell/output/page-header-nav.html b/layouts/partials/wtg-shell/output/page-header-nav.html
index 556647b..fed86c8 100644
--- a/layouts/partials/wtg-shell/output/page-header-nav.html
+++ b/layouts/partials/wtg-shell/output/page-header-nav.html
@@ -12,6 +12,8 @@
{{- end }}
+{{- else -}}
+
{{- end }}
{{- /* Next header piece is/are menu items, if a 'main' menu is defined */}}