From 14ac587705c32970927630c5f2952dfd96dec8db Mon Sep 17 00:00:00 2001 From: Fastbyte01 Date: Sat, 9 Nov 2019 09:44:54 +0100 Subject: Minor fix --- layouts/_default/baseof.html | 2 +- layouts/partials/comments.html | 61 +++++++++++++++++++++++++++--------------- layouts/partials/head.html | 4 +-- 3 files changed, 43 insertions(+), 24 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3102f82..c007207 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ partial "head.html" . }}
- {{ partial "header" . }} + {{ partial "header.html" . }}
{{ block "content" . }}{{ end }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 73cb343..e720f46 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,7 +1,21 @@ {{ if and .IsPage (ne .Params.comment false) -}} {{- if .Site.DisqusShortname -}} - {{ template "_internal/disqus.html" . }} +
+ + + comments powered by Disqus {{- end -}} @@ -11,35 +25,40 @@ - {{- end }} + {{- end -}} {{- if .Site.Params.valine.enable -}} + + + 1000000 +

+
- - + + {{- end -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bfaaa2f..2b43cbc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,13 +30,13 @@ {{ end }} - {{ partial "css" . }} + {{ partial "css.html" . }} {{ with .OutputFormats.Get "RSS" }} {{ end }} {{- template "_internal/twitter_cards.html" . }} - {{ partial "seo_schema" . }} + {{ partial "seo_schema.html" . }} {{ $cdn_url := ""}} {{ if eq ( getenv "HUGO_ENV" ) "production" }} -- cgit v1.2.3