Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Remove-french-site-build #43

Merged
merged 7 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/audit-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
}
2 changes: 2 additions & 0 deletions layouts/_default/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
</a></li>
{{- end }}
<li><a href="{{ relref . "/tags" }}">Tags</a></li>
{{- if where (site.GetPage "/").AlternativeOutputFormats "Name" "eq" "rss" }}
<li><a href="{{ ref . (dict "path" "/_index.md" "outputFormat" "rss") }}">RSS feed</a></li>
{{- end }}
</ul>
{{- end -}}
{{ end }}
Expand Down
10 changes: 0 additions & 10 deletions layouts/_default/rss.xml

This file was deleted.

2 changes: 2 additions & 0 deletions layouts/partials/wtg-shell/output/page-header-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
{{- end }}
</div>
</details>
{{- else -}}
<div></div>
{{- end }}
{{- /* Next header piece is/are menu items, if a 'main' menu is defined */}}
<menu>
Expand Down
88 changes: 0 additions & 88 deletions layouts/partials/wtg-shell/output/rss-channel.xml

This file was deleted.

5 changes: 0 additions & 5 deletions tests/config/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
module github.com/wildtechgarden/wild-theme-shell-mod-hugo/tests/config

go 1.21

require (
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.3.5 // indirect
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-beta.4 // indirect
)
4 changes: 0 additions & 4 deletions tests/config/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.3.5 h1:ZFdQCapt+KsuIgcTyShN41kfKHsp6xrtQV/MRmIEtpc=
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.3.5/go.mod h1:Bm3jUL1XjEWNb7rx+I3tBYgW5fYMpt9n0WSdysWP62Q=
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-beta.4 h1:5aNb48Apq3hiocwtEhEKQOYHXbiXv+ZX2T5S2s/g9Ng=
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-beta.4/go.mod h1:lxTwwZX9/DXBuzDwoMG/HVhNN7qRiFRZ6wLMc69QdSc=
Loading