Improve logic in title template for less warnings

This commit is contained in:
Alex Shpak
2019-04-22 22:19:08 +02:00
parent 0b30289d9f
commit b10d1e959c
7 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
<!-- RSS -->
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ "<!--" | safeHTML }}