From b35d6d2d6b8c37070d322eb3742dfdfa2912acb6 Mon Sep 17 00:00:00 2001 From: Mohammed El-Dahash Date: Sat, 7 Jan 2017 23:26:57 -0800 Subject: Add print css link --- layouts/partials/head.html | 1 + 1 file changed, 1 insertion(+) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 110c99e..99222f8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,6 +15,7 @@ {{ end }} + -- cgit 1.4.1 From b155b334bd1d47e322fed4c1599114fdba9ae8ba Mon Sep 17 00:00:00 2001 From: Mohammed El-Dahash Date: Sat, 7 Jan 2017 23:28:04 -0800 Subject: Add print css link --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 99222f8..447a27c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,7 +15,7 @@ {{ end }} - + -- cgit 1.4.1 From fe56862a539d0196b4c6e852d3fa31e0768733c9 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 7 Sep 2017 21:43:11 +0200 Subject: Trim more whitespace in template logic --- layouts/404.html | 2 +- layouts/partials/head.html | 6 +++--- layouts/partials/sidebar.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/404.html b/layouts/404.html index a919514..107267a 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,4 +1,4 @@ {{ define "main" -}}

404: Page not found

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 -}} {{ .Site.Title }} - {{ else }} + {{- else -}} {{ .Title }} · {{ .Site.Title }} - {{ end }} + {{- end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index a582955..d4839c8 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -9,9 +9,9 @@

{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}

-- cgit 1.4.1 From e91b1383eea31bbf6f389506f7f87359b6b69d61 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 7 Sep 2017 22:01:10 +0200 Subject: Fix url for Google fonts --- layouts/404.html | 2 +- layouts/partials/head.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/404.html b/layouts/404.html index 107267a..a919514 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,4 +1,4 @@ {{ define "main" -}}

404: Page not found

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/head.html') 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/head.html') 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