From fb671081201217dbaa98b3d38c9cef55d35240e8 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 13:28:08 -0500 Subject: [PATCH 1/8] Switching to relative links --- layouts/index.html | 10 +++++----- layouts/partials/footer.html | 4 ++-- layouts/partials/head.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index d01dd7e..5faf9c3 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -43,17 +43,17 @@ {{ $items := (where site.RegularPages "Type" "blog").ByDate }} {{ range last 1 $items }} -

Blog Post: {{ .Title }}

+

Blog Post: {{ .Title }}

{{ end }} {{ $items := (where site.RegularPages "Type" "paper").ByDate }} {{ range last 1 $items }} -

Publication: {{ .Title }}

+

Publication: {{ .Title }}

{{ end }} {{ $items := (where site.RegularPages "Type" "tracks").ByDate }} {{ range last 1 $items }} -

Recorded Walk: {{ .Title }}

+

Recorded Walk: {{ .Title }}

{{ end }} {{ $items := (where site.RegularPages "Type" "observations").ByDate }} @@ -64,13 +64,13 @@ {{ else }} {{ $name = .Params.taxon.name }} {{ end }} -

Nature Observation: {{ title $name }}

+

Nature Observation: {{ title $name }}

{{ end }} {{ $items := (where site.RegularPages "Type" "menu").ByDate }} {{ range last 1 $items }} -

Recipe: {{ .Title }}

+

Recipe: {{ .Title }}

{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 074f390..6087c77 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,7 +10,7 @@ @@ -22,7 +22,7 @@ {{ $sectionPages := where .Site.Pages "Section" "" }} {{ range $sectionPages }} {{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}} -
  • {{ .Title }}
  • +
  • {{ .Title }}
  • {{ end }} {{ end }}
  • Support
  • diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 95baeab..173ed54 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -64,12 +64,12 @@ {{- $fontawesome := resources.Get "css/fontawesome.css" -}} {{- $syntaxHighlight := resources.Get "css/syntax-highlight.css" -}} {{ $css := slice $style $markdown $fontawesome $syntaxHighlight | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }} - + {{- $styleDark := resources.Get "css/style-dark.css" -}} {{- $markdownDark := resources.Get "css/markdown-dark.css" -}} {{ $cssDark := slice $styleDark $markdownDark | resources.Concat "css/style-dark.css" | resources.Minify | resources.Fingerprint }} - + {{- range .Site.Params.custom_css -}} @@ -83,5 +83,5 @@ {{ partial "citation.html" . }} {{- $script := resources.Get "js/script.js" -}} - + From e253bf878d9ddca7da25e4c31f8040980d11d76b Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 13:41:09 -0500 Subject: [PATCH 2/8] More switches to RelPermalink --- layouts/blog/list.html | 4 ++-- layouts/partials/footer.amp.html | 4 ++-- layouts/partials/search.html | 4 ++-- layouts/partials/tags/all.html | 2 +- layouts/partials/tags/page.html | 2 +- layouts/partials/webmentions.html | 2 +- layouts/shortcodes/pgpform.html | 2 +- layouts/shortcodes/pgpverify.html | 2 +- layouts/tags/list.html | 2 +- layouts/tracks/list.html | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/layouts/blog/list.html b/layouts/blog/list.html index f8cd8ce..a2f342c 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -29,14 +29,14 @@

    {{ .Key }}

    {{ range .Pages }}
    -

    {{ .Title }}

    +

    {{ .Title }}

    {{ $tag_count := 0 }} {{ range .Params.tags }} {{ if lt $tag_count 2 }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }} - #{{ $name }} + #{{ $name }} {{ end }} {{ $tag_count = add $tag_count 1 }} {{ end }} diff --git a/layouts/partials/footer.amp.html b/layouts/partials/footer.amp.html index 6f68d08..7e42ea7 100644 --- a/layouts/partials/footer.amp.html +++ b/layouts/partials/footer.amp.html @@ -10,7 +10,7 @@

    @@ -22,7 +22,7 @@ {{ $sectionPages := where .Site.Pages "Section" "" }} {{ range $sectionPages }} {{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}} -
  • {{ .Title }}
  • +
  • {{ .Title }}
  • {{ end }} {{ end }}
  • Support
  • diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 36897a0..ac23809 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -11,5 +11,5 @@ {{ $lunr := resources.Get "js/lunr.js" }} {{ $search := resources.Get "js/search.js" }} {{ $lunrPackage := slice $jquery $mark $lunr | resources.Concat "js/lunrPackage.js" | resources.Minify | resources.Fingerprint }} - - + + diff --git a/layouts/partials/tags/all.html b/layouts/partials/tags/all.html index d01dec0..7c1207a 100644 --- a/layouts/partials/tags/all.html +++ b/layouts/partials/tags/all.html @@ -3,7 +3,7 @@ Tags \ No newline at end of file diff --git a/layouts/partials/tags/page.html b/layouts/partials/tags/page.html index 8a6ab81..7a564f7 100644 --- a/layouts/partials/tags/page.html +++ b/layouts/partials/tags/page.html @@ -4,7 +4,7 @@ {{ range .Param "tags" }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" ($name | urlize)) }} -
  • {{ $name }}
  • +
  • {{ $name }}
  • {{ end }} {{ end }} diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index 21349dd..ec6ed8b 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -9,4 +9,4 @@ {{ $webmentionjs := resources.Get "js/webmention.min.js" }} {{ $aliasesCombined := delimit (apply .Aliases "absURL" ".") "|" }} - + diff --git a/layouts/shortcodes/pgpform.html b/layouts/shortcodes/pgpform.html index 213ba04..d6b3043 100644 --- a/layouts/shortcodes/pgpform.html +++ b/layouts/shortcodes/pgpform.html @@ -1,5 +1,5 @@ {{- $openPGP := resources.Get "js/openpgp.min.js" -}} - +
    diff --git a/layouts/shortcodes/pgpverify.html b/layouts/shortcodes/pgpverify.html index d0cff19..b826e12 100644 --- a/layouts/shortcodes/pgpverify.html +++ b/layouts/shortcodes/pgpverify.html @@ -1,5 +1,5 @@ {{- $openPGP := resources.Get "js/openpgp.min.js" -}} - +
    diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 4d734ca..723e6a9 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -37,7 +37,7 @@ {{ end }}

    {{ .Key }}

    {{ range .Pages }} -

    {{ .Title }}

    +

    {{ .Title }}

    {{ end }} {{ end }}
    diff --git a/layouts/tracks/list.html b/layouts/tracks/list.html index 1f2218c..466d215 100644 --- a/layouts/tracks/list.html +++ b/layouts/tracks/list.html @@ -8,7 +8,7 @@ {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }} {{ range .Pages }} From 39126b0d064055d0e5a4490e9588494969244634 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 13:52:29 -0500 Subject: [PATCH 3/8] To relative URL --- layouts/partials/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/search.html b/layouts/partials/search.html index ac23809..2bc4791 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,7 +1,7 @@
    From e344944c341cdfc341b408b72ed01587a4eb2d41 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:09:40 -0500 Subject: [PATCH 4/8] Reverting changes to go back to absolute URLs Revert "To relative URL" This reverts commit 39126b0d064055d0e5a4490e9588494969244634. --- layouts/partials/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 2bc4791..ac23809 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,7 +1,7 @@
    From 91552d584112fe828ade267796de32a2121eea23 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:10:36 -0500 Subject: [PATCH 5/8] Reverting changes to go back to absolute URLs (2) This reverts commit e253bf878d9ddca7da25e4c31f8040980d11d76b. --- layouts/blog/list.html | 4 ++-- layouts/partials/footer.amp.html | 4 ++-- layouts/partials/search.html | 4 ++-- layouts/partials/tags/all.html | 2 +- layouts/partials/tags/page.html | 2 +- layouts/partials/webmentions.html | 2 +- layouts/shortcodes/pgpform.html | 2 +- layouts/shortcodes/pgpverify.html | 2 +- layouts/tags/list.html | 2 +- layouts/tracks/list.html | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/layouts/blog/list.html b/layouts/blog/list.html index a2f342c..f8cd8ce 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -29,14 +29,14 @@

    {{ .Key }}

    {{ range .Pages }}
    -

    {{ .Title }}

    +

    {{ .Title }}

    {{ $tag_count := 0 }} {{ range .Params.tags }} {{ if lt $tag_count 2 }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }} - #{{ $name }} + #{{ $name }} {{ end }} {{ $tag_count = add $tag_count 1 }} {{ end }} diff --git a/layouts/partials/footer.amp.html b/layouts/partials/footer.amp.html index 7e42ea7..6f68d08 100644 --- a/layouts/partials/footer.amp.html +++ b/layouts/partials/footer.amp.html @@ -10,7 +10,7 @@

    @@ -22,7 +22,7 @@ {{ $sectionPages := where .Site.Pages "Section" "" }} {{ range $sectionPages }} {{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}} -
  • {{ .Title }}
  • +
  • {{ .Title }}
  • {{ end }} {{ end }}
  • Support
  • diff --git a/layouts/partials/search.html b/layouts/partials/search.html index ac23809..36897a0 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -11,5 +11,5 @@ {{ $lunr := resources.Get "js/lunr.js" }} {{ $search := resources.Get "js/search.js" }} {{ $lunrPackage := slice $jquery $mark $lunr | resources.Concat "js/lunrPackage.js" | resources.Minify | resources.Fingerprint }} - - + + diff --git a/layouts/partials/tags/all.html b/layouts/partials/tags/all.html index 7c1207a..d01dec0 100644 --- a/layouts/partials/tags/all.html +++ b/layouts/partials/tags/all.html @@ -3,7 +3,7 @@ Tags \ No newline at end of file diff --git a/layouts/partials/tags/page.html b/layouts/partials/tags/page.html index 7a564f7..8a6ab81 100644 --- a/layouts/partials/tags/page.html +++ b/layouts/partials/tags/page.html @@ -4,7 +4,7 @@ {{ range .Param "tags" }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" ($name | urlize)) }} -
  • {{ $name }}
  • +
  • {{ $name }}
  • {{ end }} {{ end }} diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index ec6ed8b..21349dd 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -9,4 +9,4 @@ {{ $webmentionjs := resources.Get "js/webmention.min.js" }} {{ $aliasesCombined := delimit (apply .Aliases "absURL" ".") "|" }} - + diff --git a/layouts/shortcodes/pgpform.html b/layouts/shortcodes/pgpform.html index d6b3043..213ba04 100644 --- a/layouts/shortcodes/pgpform.html +++ b/layouts/shortcodes/pgpform.html @@ -1,5 +1,5 @@ {{- $openPGP := resources.Get "js/openpgp.min.js" -}} - +
    diff --git a/layouts/shortcodes/pgpverify.html b/layouts/shortcodes/pgpverify.html index b826e12..d0cff19 100644 --- a/layouts/shortcodes/pgpverify.html +++ b/layouts/shortcodes/pgpverify.html @@ -1,5 +1,5 @@ {{- $openPGP := resources.Get "js/openpgp.min.js" -}} - +
    diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 723e6a9..4d734ca 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -37,7 +37,7 @@ {{ end }}

    {{ .Key }}

    {{ range .Pages }} -

    {{ .Title }}

    +

    {{ .Title }}

    {{ end }} {{ end }}
    diff --git a/layouts/tracks/list.html b/layouts/tracks/list.html index 466d215..1f2218c 100644 --- a/layouts/tracks/list.html +++ b/layouts/tracks/list.html @@ -8,7 +8,7 @@ {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }} {{ range .Pages }} From d9c51c967d9498e897a8821be674ca18eca2d19b Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:11:43 -0500 Subject: [PATCH 6/8] Revert "Switching to relative links" This reverts commit fb671081201217dbaa98b3d38c9cef55d35240e8. --- layouts/index.html | 10 +++++----- layouts/partials/footer.html | 4 ++-- layouts/partials/head.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 5faf9c3..d01dd7e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -43,17 +43,17 @@ {{ $items := (where site.RegularPages "Type" "blog").ByDate }} {{ range last 1 $items }} -

    Blog Post: {{ .Title }}

    +

    Blog Post: {{ .Title }}

    {{ end }} {{ $items := (where site.RegularPages "Type" "paper").ByDate }} {{ range last 1 $items }} -

    Publication: {{ .Title }}

    +

    Publication: {{ .Title }}

    {{ end }} {{ $items := (where site.RegularPages "Type" "tracks").ByDate }} {{ range last 1 $items }} -

    Recorded Walk: {{ .Title }}

    +

    Recorded Walk: {{ .Title }}

    {{ end }} {{ $items := (where site.RegularPages "Type" "observations").ByDate }} @@ -64,13 +64,13 @@ {{ else }} {{ $name = .Params.taxon.name }} {{ end }} -

    Nature Observation: {{ title $name }}

    +

    Nature Observation: {{ title $name }}

    {{ end }} {{ $items := (where site.RegularPages "Type" "menu").ByDate }} {{ range last 1 $items }} -

    Recipe: {{ .Title }}

    +

    Recipe: {{ .Title }}

    {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6087c77..074f390 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,7 +10,7 @@ @@ -22,7 +22,7 @@ {{ $sectionPages := where .Site.Pages "Section" "" }} {{ range $sectionPages }} {{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}} -
  • {{ .Title }}
  • +
  • {{ .Title }}
  • {{ end }} {{ end }}
  • Support
  • diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 173ed54..95baeab 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -64,12 +64,12 @@ {{- $fontawesome := resources.Get "css/fontawesome.css" -}} {{- $syntaxHighlight := resources.Get "css/syntax-highlight.css" -}} {{ $css := slice $style $markdown $fontawesome $syntaxHighlight | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }} - + {{- $styleDark := resources.Get "css/style-dark.css" -}} {{- $markdownDark := resources.Get "css/markdown-dark.css" -}} {{ $cssDark := slice $styleDark $markdownDark | resources.Concat "css/style-dark.css" | resources.Minify | resources.Fingerprint }} - + {{- range .Site.Params.custom_css -}} @@ -83,5 +83,5 @@ {{ partial "citation.html" . }} {{- $script := resources.Get "js/script.js" -}} - + From 9a879c7a40cbe24f0a6b6fbdccfb00286619b154 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:13:17 -0500 Subject: [PATCH 7/8] Switching images to use absolute urls --- layouts/blog/single.amp.html | 2 +- layouts/blog/single.html | 2 +- layouts/index.html | 2 +- layouts/paper/single.html | 2 +- layouts/partials/header.html | 2 +- layouts/tracks/single.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/blog/single.amp.html b/layouts/blog/single.amp.html index 7974644..6c7f23f 100644 --- a/layouts/blog/single.amp.html +++ b/layouts/blog/single.amp.html @@ -11,7 +11,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 75 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - + {{ .Site.Params.Author }} {{ .Scratch.Set "beforeDateString" "Published on "}} diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 8952e28..1c77f52 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -11,7 +11,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 75 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - + {{ .Site.Params.Author }} {{ .Scratch.Set "beforeDateString" "Published on "}} diff --git a/layouts/index.html b/layouts/index.html index d01dd7e..9f30ddb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 250 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - Photo of {{ .Site.Params.Author }} + Photo of {{ .Site.Params.Author }} diff --git a/layouts/paper/single.html b/layouts/paper/single.html index b02a3d5..2bbe864 100644 --- a/layouts/paper/single.html +++ b/layouts/paper/single.html @@ -11,7 +11,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 75 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - + {{ .Site.Params.Author }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9508785..d5aa334 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -28,7 +28,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 75 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - Photo of {{ .Site.Params.Author }} + Photo of {{ .Site.Params.Author }}
    diff --git a/layouts/tracks/single.html b/layouts/tracks/single.html index f53f870..fd292e8 100644 --- a/layouts/tracks/single.html +++ b/layouts/tracks/single.html @@ -11,7 +11,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 75 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - + {{ .Site.Params.Author }}
    {{ .Scratch.Set "beforeDateString" "Published on "}} From a49100eee9c37817c8ed34be775b1dadc504b756 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:14:09 -0500 Subject: [PATCH 8/8] Take to observations page --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 9f30ddb..842aabf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -64,7 +64,7 @@ {{ else }} {{ $name = .Params.taxon.name }} {{ end }} -

    Nature Observation: {{ title $name }}

    +

    Nature Observation: {{ title $name }}

    {{ end }}