From 5e5939c343f85db5dec1fdafd867616ab7785eb4 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Thu, 26 Jul 2018 18:01:14 +1000 Subject: [PATCH] revises header, feeds, and highlight templates --- layouts/partials/header.html | 5 +---- layouts/partials/header/feeds.html | 4 +++- layouts/partials/header/highlight-css.html | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index bbcb531..03aaa35 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,6 @@ {{ partial "header/meta.html" . }} - {{ "" | safeHTML }} {{ partial "header/highlight-css.html" . }} @@ -13,7 +12,5 @@ {{ "" | safeHTML }} - {{- if .RSSLink -}} - {{ partial "header/feeds.html" . }} - {{- end -}} + {{ partial "header/feeds.html" . }} diff --git a/layouts/partials/header/feeds.html b/layouts/partials/header/feeds.html index c3145c3..4790ed5 100644 --- a/layouts/partials/header/feeds.html +++ b/layouts/partials/header/feeds.html @@ -1,3 +1,5 @@ +{{- if .RSSLink -}} - \ No newline at end of file + +{{ end }} diff --git a/layouts/partials/header/highlight-css.html b/layouts/partials/header/highlight-css.html index 9c96568..ce877a0 100644 --- a/layouts/partials/header/highlight-css.html +++ b/layouts/partials/header/highlight-css.html @@ -1,7 +1,8 @@ {{- if .Site.Params.highlightjs -}} +{{ "" | safeHTML }} {{- end -}} {{ if .Site.Params.PygmentsUseClasses -}} -{{- end }} \ No newline at end of file +{{- end }}