From b10d1e959c25a36cf58f570d12d15820ca1d3ee7 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 22 Apr 2019 22:19:08 +0200 Subject: Improve logic in title template for less warnings --- layouts/partials/docs/html-head.html | 2 +- layouts/partials/docs/shared.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'layouts/partials/docs') diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 7f7c0cc..ab05a59 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -15,7 +15,7 @@ {{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ "