diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a750475..77f619d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,14 +8,18 @@ {{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }} - {{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }} - {{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }} + {{- if .Site.Params.opengraph }} + {{ template "_internal/opengraph.html" . }} + {{- end }} + {{- if .Site.Params.twitter_cards }} + {{ template "_internal/twitter_cards.html" . }} + {{- end }} - {{ with .OutputFormats.Get "rss" -}} + {{- with .OutputFormats.Get "rss" }} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} - {{ end -}} + {{- end }} {{- if and (.Site.Params.Manifest) ((.Site.GetPage "home").OutputFormats.Get "manifest") -}} {{- end }}