Update gallery page
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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 */ -}}
|
||||
|
Reference in New Issue
Block a user