Update theme

This commit is contained in:
Marko Korhonen 2025-03-24 13:50:49 -05:00
parent 32fdb6fe88
commit 2a96fe8b32
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 21 additions and 18 deletions

View file

@ -3,7 +3,7 @@
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"*": [ "*": [
"../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.7.0/assets/*" "../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.8.0/assets/*"
] ]
} }
} }

2
go.mod
View file

@ -2,4 +2,4 @@ module git.korhonen.cc/FunctionalHacker/korhonen.cc
go 1.21.6 go 1.21.6
require github.com/hugo-toha/toha/v4 v4.7.0 // indirect require github.com/hugo-toha/toha/v4 v4.8.0 // indirect

2
go.sum
View file

@ -2,3 +2,5 @@ github.com/hugo-toha/toha/v4 v4.6.0 h1:u+9KiGyTsC54sHld8HEvLEJBnKjkuuasHwair1wJM
github.com/hugo-toha/toha/v4 v4.6.0/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g= github.com/hugo-toha/toha/v4 v4.6.0/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g=
github.com/hugo-toha/toha/v4 v4.7.0 h1:XmMLJRXoYKd8UmM3RTh0Kwe6+7l9/JnUi51c86h+GzU= github.com/hugo-toha/toha/v4 v4.7.0 h1:XmMLJRXoYKd8UmM3RTh0Kwe6+7l9/JnUi51c86h+GzU=
github.com/hugo-toha/toha/v4 v4.7.0/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g= github.com/hugo-toha/toha/v4 v4.7.0/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g=
github.com/hugo-toha/toha/v4 v4.8.0 h1:TYNqOsr01q73R5Sgz7lonXoX39dIl22lZhQy/V421so=
github.com/hugo-toha/toha/v4 v4.8.0/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g=

View file

@ -77,7 +77,7 @@
<footer id="footer" class="container-fluid text-center align-content-center footer pb-2"> <footer id="footer" class="container-fluid text-center align-content-center footer pb-2">
<div class="container pt-5"> <div class="container pt-5">
<div class="row text-left"> <div class="row text-start">
{{ if $navigationEnabled }} {{ if $navigationEnabled }}
<div class="col-md-4 col-sm-12"> <div class="col-md-4 col-sm-12">
<h5>{{ i18n "navigation" }}</h5> <h5>{{ i18n "navigation" }}</h5>
@ -204,15 +204,15 @@
{{ if $credentialsEnabled }} {{ if $credentialsEnabled }}
<hr /> <hr />
<div class="container"> <div class="container">
<div class="row text-left"> <div class="row text-start">
<div class="col-md-4"> <div class="col-md-4">
<a id="theme" href="https://github.com/hugo-toha/toha" target="_blank" rel="noopener"> <a id="theme" href="https://github.com/hugo-toha/toha" target="_blank" rel="noopener">
<img src="{{ $themeLogo }}" alt="Toha Theme Logo"> <img src="{{ $themeLogo }}" alt="Toha Theme Logo">
Toha theme {{ $tohaVersion }} Toha theme {{ $tohaVersion }}
</a> </a>
</div> </div>
<div class="col-md-4 text-center">{{ replace $copyrightNotice "{year}" now.Year | markdownify }}</div> <div class="col-md-4 text-center">{{ $copyrightNotice | markdownify }}</div>
<div class="col-md-4 text-right"> <div class="col-md-4 text-end">
<a id="hugo" href="https://gohugo.io/" target="_blank" rel="noopener">{{ i18n "hugoAttributionText" }} <a id="hugo" href="https://gohugo.io/" target="_blank" rel="noopener">{{ i18n "hugoAttributionText" }}
<img <img
src="{{ $hugoLogo }}" src="{{ $hugoLogo }}"

View file

@ -22,16 +22,17 @@
{{ partial "helpers/style-bundle.html" . }} {{ partial "helpers/style-bundle.html" . }}
<!--================= fab-icon =========================--> <!--================= fab-icon =========================-->
{{/* add favicon only if the site author has provided the the favicon */}} {{/* add favicon only if the site author has provided the the favicon */}} {{ if
{{ if site.Params.logo.favicon }} site.Params.logo.favicon }} {{ $favicon := site.Params.logo.favicon }} {{/*
{{ $favicon := site.Params.logo.favicon }} resize the favicon. don't resize svg because it is not supported */}} {{
$favicon = resources.Get $favicon }} {{ if and $favicon (ne
{{/* resize the favicon. don't resize svg because it is not supported */}} $favicon.MediaType.SubType "svg") }} {{ $favicon = $favicon.Resize "42x" }} {{
{{ $favicon = resources.Get $favicon }} end }} {{ $favicon = $favicon.RelPermalink}}
{{ if and $favicon (ne $favicon.MediaType.SubType "svg") }}
{{ $favicon = $favicon.Resize "42x" }}
{{ end }}
{{ $favicon = $favicon.RelPermalink}}
<link rel="icon" type="image/png" href="{{ $favicon }}" /> <link rel="icon" type="image/png" href="{{ $favicon }}" />
{{end}} {{end}} {{ with .OutputFormats.Get "rss" -}} {{ printf `<link
rel="%q"
type="%q"
href="%q"
title="%q"
/>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} {{ end }}