From 0093be60f1200274e3f4e5b6d2bd16a78938ad2a Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Tue, 7 Feb 2017 19:09:21 -0600 Subject: [PATCH] Fix build error in single and section default layouts --- themes/hugodocs/layouts/_default/section.html | 3 ++- themes/hugodocs/layouts/_default/single.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/hugodocs/layouts/_default/section.html b/themes/hugodocs/layouts/_default/section.html index 4896c93ba..611fe8a88 100644 --- a/themes/hugodocs/layouts/_default/section.html +++ b/themes/hugodocs/layouts/_default/section.html @@ -1,12 +1,13 @@ {{ define "main" }} {{$base := .Site.BaseURL}} +{{$title := .Title}}

{{with .LinkTitle}}{{ . |markdownify}}{{else}}{{ .Title | markdownify }}{{end}}