From 2b1814ee580f3149f9fe0a4cf30b754bac9f0c90 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 21 Sep 2019 11:06:15 +0300 Subject: [PATCH] tpl: Remove unneeded space --- tpl/tplimpl/embedded/templates.autogen.go | 6 +++--- tpl/tplimpl/embedded/templates/_default/rss.xml | 2 +- tpl/tplimpl/embedded/templates/_default/sitemap.xml | 2 +- tpl/tplimpl/embedded/templates/_default/sitemapindex.xml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 5850d6874..525cff64f 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -26,7 +26,7 @@ var EmbeddedTemplates = [][2]string{ {{- if ge $limit 1 -}} {{- $pages = $pages | first $limit -}} {{- end -}} -{{- printf "" | safeHTML }} +{{- printf "" | safeHTML }} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} @@ -53,7 +53,7 @@ var EmbeddedTemplates = [][2]string{ {{ end }} `}, - {`_default/sitemap.xml`, `{{ printf "" | safeHTML }} + {`_default/sitemap.xml`, `{{ printf "" | safeHTML }} {{ range .Data.Pages }} @@ -75,7 +75,7 @@ var EmbeddedTemplates = [][2]string{ {{ end }} `}, - {`_default/sitemapindex.xml`, `{{ printf "" | safeHTML }} + {`_default/sitemapindex.xml`, `{{ printf "" | safeHTML }} {{ range . }} diff --git a/tpl/tplimpl/embedded/templates/_default/rss.xml b/tpl/tplimpl/embedded/templates/_default/rss.xml index 8f7a2f697..3e17f48c6 100644 --- a/tpl/tplimpl/embedded/templates/_default/rss.xml +++ b/tpl/tplimpl/embedded/templates/_default/rss.xml @@ -5,7 +5,7 @@ {{- if ge $limit 1 -}} {{- $pages = $pages | first $limit -}} {{- end -}} -{{- printf "" | safeHTML }} +{{- printf "" | safeHTML }} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} diff --git a/tpl/tplimpl/embedded/templates/_default/sitemap.xml b/tpl/tplimpl/embedded/templates/_default/sitemap.xml index f5b44c410..cd2cab732 100644 --- a/tpl/tplimpl/embedded/templates/_default/sitemap.xml +++ b/tpl/tplimpl/embedded/templates/_default/sitemap.xml @@ -1,4 +1,4 @@ -{{ printf "" | safeHTML }} +{{ printf "" | safeHTML }} {{ range .Data.Pages }} diff --git a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml index 60724c7b8..62131a987 100644 --- a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml +++ b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml @@ -1,4 +1,4 @@ -{{ printf "" | safeHTML }} +{{ printf "" | safeHTML }} {{ range . }}