From be422f74cfda13d0755185024179906a45afc6b7 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 17 Apr 2023 14:18:02 -0400 Subject: [PATCH] Fix trailing slash in art --- themes/red/layouts/partials/featured-art.html | 2 +- themes/red/layouts/partials/render-art.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/red/layouts/partials/featured-art.html b/themes/red/layouts/partials/featured-art.html index 2a5f797..b2d2318 100644 --- a/themes/red/layouts/partials/featured-art.html +++ b/themes/red/layouts/partials/featured-art.html @@ -22,7 +22,7 @@ {{ $title := .title }} {{ with resources.Get (printf "art/%s" .filename) }} {{ $image := .Resize "500x" }} - {{ $title }} + {{ $title }} {{ else }}

Thumbnail not found!

{{ end }} diff --git a/themes/red/layouts/partials/render-art.html b/themes/red/layouts/partials/render-art.html index ed86044..366ef65 100644 --- a/themes/red/layouts/partials/render-art.html +++ b/themes/red/layouts/partials/render-art.html @@ -34,13 +34,13 @@ {{ with $image }} {{ if $.Params.threed }} {{ with resources.Get "3d.png" }} - Viewable 3D + Viewable 3D {{ end }} {{ end }} {{ if $.Params.animation }} {{ with resources.Get "play-circle.png" }} - Viewable Animation + Viewable Animation {{ end }} {{ end }}