From ff1790746eb12c6b82b37ed1cb7a73b54203f55d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:21:39 -0600 Subject: [PATCH 1/8] Move modal to end of layout document --- layouts/_default/baseof.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c8c15db..4d787c5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ with .Description }} - + {{ end }} {{ .Title }} - {{ .Site.Title }} {{ $twbssass := resources.Get "styles/mix-twbs.scss" | resources.ToCSS | minify | resources.PostProcess }} @@ -16,7 +16,6 @@ - {{ partial "extras-modal" . }}
+ {{ $fontawesome := resources.Get "scripts/fa-icons.js" | js.Build "js/fontawesome.js" | minify | fingerprint }} @@ -189,5 +189,7 @@ async src="//gc.zgo.at/count.js" > + + {{ partial "extras-modal" . }} From c875b93617f4e10dfedad3182861ceb21506c325 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:30:03 -0600 Subject: [PATCH 2/8] Replace every instance of .Permalink with .RelPermalink Hugo can't figure out how to sort out http vs https, which causes issues in Chromium-based browsers. Fix that by only using relative links. --- layouts/_default/baseof.html | 18 +++++++++--------- layouts/partials/academia/list-single.html | 2 +- layouts/videos/list.html | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4d787c5..5f882c3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,7 +9,7 @@ {{ end }} {{ .Title }} - {{ .Site.Title }} {{ $twbssass := resources.Get "styles/mix-twbs.scss" | resources.ToCSS | minify | resources.PostProcess }} - + {{ $millironx := resources.Get "graphics/millironx.svg" }} @@ -29,9 +29,9 @@ width="80" height="24" style="filter: invert(100%)" - data="{{ $millironx.Permalink }}" + data="{{ $millironx.RelPermalink }}" > - Milliron X + Milliron XMilliron X @@ -93,8 +93,8 @@

- - Milliron X + + Milliron X   Milliron X @@ -113,7 +113,7 @@
{{ $brandedbull := resources.Get "images/brandedbull.png" }} {{ $brandedbullsmall := $brandedbull.Resize "x95" }} - +
{{ $fontawesome := resources.Get "scripts/fa-icons.js" | js.Build "js/fontawesome.js" | minify | fingerprint }} - + {{ $jquery := resources.Get "scripts/jquery/jquery.min.js" }} @@ -174,14 +174,14 @@ {{ $scrolljs := resources.Get "scripts/scroll-effect.js" | minify }} {{ $maskjs := resources.Get "scripts/phone-masking.js" | minify }} {{ $jquerybundle := slice $jquery $jqmaskjs $fittextjs $scrolljs $maskjs | resources.Concat "js/jquery-bundle.js" | fingerprint }} - + {{ $popperjs := resources.Get "scripts/popper/popper.min.js" }} {{ $twbsjs := resources.Get "scripts/bootstrap/bootstrap.min.js" }} {{ $ttjs := resources.Get "scripts/tooltip-enable.js" | minify }} {{ $bootstrapbundle := slice $popperjs $twbsjs $ttjs | resources.Concat "js/bootstrap-bundle.js" | fingerprint }} - +