diff --git a/themes/gohugoioTheme/layouts/showcase/single.html b/themes/gohugoioTheme/layouts/showcase/single.html index e53eb3221..bdf8ebb41 100644 --- a/themes/gohugoioTheme/layouts/showcase/single.html +++ b/themes/gohugoioTheme/layouts/showcase/single.html @@ -1,5 +1,8 @@ {{ define "main" }} -
+ {{$section := where .Site.RegularPages "Section" .Section}} + {{$number_of_entries := $section | len}} + {{$currentPageUrl := $.URL }} +

@@ -8,56 +11,76 @@

-
-
- {{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} - {{ with $img }} - {{ $img := .Resize "640x" }} - {{ $img.Title }} - {{ end }} +
+
+ +
+
+ {{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} + {{ with $img }} + {{ $img := .Resize "940x" }} + {{ $img.Title }} + {{ end }} {{with .Content}} - -