Update gallery page

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-13 21:36:59 +00:00
parent 9905066046
commit 08b8041c43
8 changed files with 102 additions and 98 deletions

View File

@@ -1,7 +1,3 @@
{{ partial "components/image/index.html" (dict "page" .Page "image" (dict
"src" .Destination
"caption" .Text
"alt" .Title
))
}}
{{ $data := partial "components/image/process.html" (dict "page" .Page "src" .Destination) }}
{{ partial "components/image/index.html" (merge $data (dict "caption" .Text "alt" .Title)) }}
{{- /* chomp trailing newline */ -}}