From e199c3b532f168a2f65e91970544fd7782e133cb Mon Sep 17 00:00:00 2001 From: Vivek Ghaisas Date: Fri, 26 May 2017 23:17:53 +0300 Subject: Use .Site.BaseURL to generate sidebar "Home" link --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 48fec6a..a582955 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -8,7 +8,7 @@
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.
-{{- end }} \ No newline at end of file +{{-1 end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 447a27c..d602f3f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,11 +8,11 @@ - {{ if .IsHome }} + {{ if .IsHome -}}{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}
-- cgit 1.4.1 From 8349cf1aa1bf4675ba10bc47882a7fb089a54ceb Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 7 Sep 2017 21:44:44 +0200 Subject: Remove custom Disqus template --- layouts/_default/single.html | 2 +- layouts/partials/disqus.html | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 layouts/partials/disqus.html (limited to 'layouts/partials') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2317495..c5fdbc2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,6 +7,6 @@ {{ if .Site.Params.disqusShortname -}}Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.
-{{-1 end }} \ No newline at end of file +{{- end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d602f3f..99806aa 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,7 +19,7 @@ - + -- cgit 1.4.1 From 155f263d2fb21ef6852826f1e5dd3cb11f12425e Mon Sep 17 00:00:00 2001 From: Kevin Wiliarty Date: Sat, 24 Feb 2018 23:12:18 -0500 Subject: Fix #47: adds hook_head_end partial --- layouts/partials/head.html | 4 +++- layouts/partials/head_fonts.html | 1 + layouts/partials/hook_head_end.html | 0 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/head_fonts.html create mode 100644 layouts/partials/hook_head_end.html (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 99806aa..20baf8f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,7 +19,7 @@ - + {{ partial "head_fonts.html" . }} @@ -27,4 +27,6 @@ + + {{ partial "hook_head_end.html" . }} diff --git a/layouts/partials/head_fonts.html b/layouts/partials/head_fonts.html new file mode 100644 index 0000000..4729eb2 --- /dev/null +++ b/layouts/partials/head_fonts.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html new file mode 100644 index 0000000..e69de29 -- cgit 1.4.1 From 8cab2d27e2b7727e632d817dbdd41a97cc99af00 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Sat, 17 Mar 2018 09:43:15 +0100 Subject: Update head.html Fixes #49--- layouts/partials/head.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 20baf8f..66a5d46 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,10 +15,10 @@ {{- end }} - - - - + + + + {{ partial "head_fonts.html" . }} -- cgit 1.4.1