From fe56862a539d0196b4c6e852d3fa31e0768733c9 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 7 Sep 2017 21:43:11 +0200 Subject: Trim more whitespace in template logic --- layouts/404.html | 2 +- layouts/partials/head.html | 6 +++--- layouts/partials/sidebar.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index a919514..107267a 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,4 +1,4 @@ {{ define "main" -}}
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.
-{{- end }} \ No newline at end of file +{{-1 end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 447a27c..d602f3f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,11 +8,11 @@ - {{ if .IsHome }} + {{ if .IsHome -}}{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}
-- cgit 1.4.1