diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6c711fa..543059e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
- hugo-version: '0.140.2'
+ hugo-version: '0.145.0'
extended: true
- name: Build
diff --git a/themes/red/layouts/_default/art-detail.html b/themes/red/layouts/_default/art-detail.html
index 9d24740..537b869 100644
--- a/themes/red/layouts/_default/art-detail.html
+++ b/themes/red/layouts/_default/art-detail.html
@@ -100,9 +100,12 @@
{{ $full := printf "%s/thumb/%s.avif" $.Site.Params.image_host $filename_without_ext }}
{{ $jpeg := printf "%s/thumb/%s.jpg" $.Site.Params.image_host $filename_without_ext }}
+ {{ $thumb_width := math.Div (int .Params.thumb_width) 2 }}
+ {{ $thumb_height := math.Div (int .Params.thumb_height) 2 }}
+
+
- {{ else }} + {{ else with .Value }} {{ $json := unmarshal .Content }} {{ $jsonHolder := $json }}{{/* Being safe */}}[Source not online
at time of site build.]