diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 79c4dd7..36d7eea 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,16 @@ {{ define "main" }} + +{{ $page := . }} +{{ $banner := ($page.Resources.ByType "image").GetMatch "*-wd*" }} +

{{ .Title }}

+
+ {{ with $.Params.photo }}
{{ end }}
+ {{ with $.Params.photo }}
{{ i18n "gorsel" }}{{ .author }}
+
+ {{ end }} {{ .Content }}