From a180cd5cb68aaa82b3d97f51bc1fac3e51a0c38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 10 Feb 2018 12:59:18 +0100 Subject: [PATCH] Make the inline showcase template names unique To avoid surprising re-definitions. --- themes/gohugoioTheme/layouts/showcase/single.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/gohugoioTheme/layouts/showcase/single.html b/themes/gohugoioTheme/layouts/showcase/single.html index c396f7b05..0ea5d7a55 100644 --- a/themes/gohugoioTheme/layouts/showcase/single.html +++ b/themes/gohugoioTheme/layouts/showcase/single.html @@ -9,15 +9,15 @@ Showcase: {{ .Title }}
- {{template "details" .}} + {{template "sc-details" .}}
- {{template "main-column" .}} + {{template "sc-main-column" .}}
@@ -32,7 +32,7 @@ Showcase: {{ .Title }} -{{define "main-column"}} +{{define "sc-main-column"}} {{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $img }} {{ $big := .Fill "1024x512 top" }} @@ -50,7 +50,7 @@ Showcase: {{ .Title }} {{end}} -{{define "details"}} +{{define "sc-details"}}