From efd345bd23a07eb003540d72fb24fae3b7f0ea1c Mon Sep 17 00:00:00 2001 From: Leo Davis Date: Mon, 1 Apr 2019 07:56:20 -0600 Subject: Disable twitter meta output when not set. --- layouts/partials/meta.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 0af236b..aab1c9b 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -33,6 +33,7 @@ {{ end }} {{ end }} +{{if .Site.Params.twitter }} @@ -46,3 +47,4 @@ /> +{{ end }} -- cgit v1.2.3 From dbd136138166db0fcc17eecf21b709d228a12241 Mon Sep 17 00:00:00 2001 From: Leo Davis Date: Wed, 3 Apr 2019 21:15:58 -0600 Subject: Remove body and html end tags from footer.html. At least they seem consistent now. --- layouts/_default/list.html | 3 ++- layouts/_default/single.html | 3 ++- layouts/_default/terms.html | 3 ++- layouts/partials/footer.html | 3 +-- layouts/post/single.html | 3 ++- layouts/project/single.html | 3 ++- layouts/taxonomy/category.html | 3 ++- layouts/taxonomy/series.html | 3 ++- layouts/taxonomy/tag.html | 3 ++- 9 files changed, 17 insertions(+), 10 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e138ca7..38e9e55 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -32,4 +32,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4800a03..5c7b2e5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -22,4 +22,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 5feac5e..cdfc156 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -38,4 +38,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b326096..ab18582 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -7,5 +7,4 @@ {{ partial "scripts.html" . }} - - \ No newline at end of file + diff --git a/layouts/post/single.html b/layouts/post/single.html index 047b088..7a1ed38 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -58,4 +58,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/project/single.html b/layouts/project/single.html index 4800a03..5c7b2e5 100644 --- a/layouts/project/single.html +++ b/layouts/project/single.html @@ -22,4 +22,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/taxonomy/category.html b/layouts/taxonomy/category.html index 70a6fd6..e3cbb59 100644 --- a/layouts/taxonomy/category.html +++ b/layouts/taxonomy/category.html @@ -38,4 +38,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/taxonomy/series.html b/layouts/taxonomy/series.html index 531f9e5..c2ccd11 100644 --- a/layouts/taxonomy/series.html +++ b/layouts/taxonomy/series.html @@ -38,4 +38,5 @@ {{ partial "footer.html" . }} - + + diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index e34be22..a871085 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -38,4 +38,5 @@ {{ partial "footer.html" . }} - + + -- cgit v1.2.3 From 2599ffe8fba1ca9a8b4706d0d14c946f180cd494 Mon Sep 17 00:00:00 2001 From: Leo Davis Date: Wed, 3 Apr 2019 21:16:24 -0600 Subject: Remove stray html end tag. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 53e4af7..040833f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -23,4 +23,4 @@ - + -- cgit v1.2.3 From 5bebace86b826173221d54f01c2f6bc222b0f57e Mon Sep 17 00:00:00 2001 From: Leo Davis Date: Thu, 4 Apr 2019 23:21:53 -0600 Subject: Remove deprecated RSSLink. --- layouts/index.html | 8 +++++--- layouts/partials/header.html | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index c4b8216..eb2688a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,13 +11,15 @@ {{ .Site.Title }} +{{ $sitetitle := .Site.Title }} +{{ with .OutputFormats.Get "RSS" }} - +{{ end }} {{ partial "head_includes.html" . }} {{ .Title }} - +{{ $title := .Title }} +{{ with .OutputFormats.Get "RSS" }} - +{{ end }} {{ partial "head_includes.html" . }} -- cgit v1.2.3