diff --git a/go.mod b/go.mod index af5291b..02c1b3c 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.15 require ( github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d // indirect - github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.0 // indirect + github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.1-0.20230403050112-c27aab376601 // indirect ) diff --git a/go.sum b/go.sum index 8ef7051..fb42fbd 100644 --- a/go.sum +++ b/go.sum @@ -2,7 +2,7 @@ github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20230315231533-b5bff1dac7 github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d h1:IvFDTSoQiK3BsbdJxvXEqjuRxwcYo2dMHgUxGmhdYes= github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d/go.mod h1:V7UXom6wuFrWj1lBUCXQA3HguwfDhQA+tQNxyRxdClk= github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20220513103455-d83c3f8c6954/go.mod h1:BL7L5CENEhUx+miRRaOZ9SVC92j9MAMztirBWtTpiPc= -github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.0 h1:tE3ij5PZjPNhBLaN0vRIxx9R/Lkz+lWetArzQG75HpQ= -github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.0/go.mod h1:kmYc1iLbgWYBcVWYPDmAfhwFWaUOXquhOBricKJMUI8= +github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.1-0.20230403050112-c27aab376601 h1:n6DOm6q78cMS3VgnIo24g2xkKpGITeLrBOhXJTUtimI= +github.com/foo-dogsquared/hugo-theme-more-contentful v0.6.1-0.20230403050112-c27aab376601/go.mod h1:kmYc1iLbgWYBcVWYPDmAfhwFWaUOXquhOBricKJMUI8= github.com/refactoringui/heroicons v2.0.12+incompatible/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk= github.com/simple-icons/simple-icons v0.0.0-20230315131209-aa70b1e830e9/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE= diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c573ee3..e5453b6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -25,7 +25,7 @@
  • {{- if $useImage }} - {{- partial "components/icon.html" (dict "id" .id "output" "icons/brand/%s.svg" "template" "templates/simple-icon.svg") }} + {{- partial "components/simple-icon.html" (dict "id" .id) }} {{- else }} {{- .name }} {{- end }} @@ -91,7 +91,7 @@ fullscreenButton.ariaLabel = "{{ T "fullscreenButtonAriaLabel" }}"; fullscreenButton.title = "{{ T "fullscreenButtonLabel" }}"; fullscreenButton.ariaDescription = "{{ T "fullscreenButtonDescription" }}"; - fullscreenButton.innerHTML = "{{ partial "components/heroicon.html" "arrows-pointing-out" }}"; + fullscreenButton.innerHTML = "{{ partial "components/heroicon.html" (dict "id" "arrows-pointing-out") }}"; fullscreenButton.addEventListener("click", (event) => { const { target } = event; @@ -108,7 +108,7 @@ copyButton.ariaLabel = "{{ T "copyButtonAriaLabel" }}"; copyButton.title = "{{ T "copyButtonLabel" }}"; copyButton.ariaDescription = "{{ T "copyButtonDescription" }}"; - copyButton.innerHTML = "{{ partial "components/heroicon.html" "clipboard" }}"; + copyButton.innerHTML = "{{ partial "components/heroicon.html" (dict "id" "clipboard") }}"; copyButton.addEventListener("click", (event) => { const { target } = event;