From 5248a576a106552a71e720314299e7269d8f5bb5 Mon Sep 17 00:00:00 2001 From: Darin Dimitroff Date: Tue, 17 Jan 2017 17:16:36 +0200 Subject: Updates head partial and adds favicons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renames “header” to “head”. --- site/layouts/_default/list.html | 2 +- site/layouts/_default/single.html | 2 +- site/layouts/contact/single.html | 2 +- site/layouts/index.html | 2 +- site/layouts/partials/head.html | 31 +++++++++++++++++++++++++++++++ site/layouts/partials/header.html | 14 -------------- site/layouts/post/single.html | 2 +- site/layouts/products/single.html | 2 +- site/layouts/values/single.html | 2 +- 9 files changed, 38 insertions(+), 21 deletions(-) create mode 100644 site/layouts/partials/head.html delete mode 100644 site/layouts/partials/header.html (limited to 'site/layouts') diff --git a/site/layouts/_default/list.html b/site/layouts/_default/list.html index ccef521..3c94597 100644 --- a/site/layouts/_default/list.html +++ b/site/layouts/_default/list.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} {{ partial "jumbotron" (dict "imageUrl" "/img/blog-index.jpg" "title" "Latests stories") }} diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 124e30d..2126d61 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} {{ partial "jumbotron" (dict "imageUrl" "/img/7.jpg" "title" "This is where the heading goes" "subtitle" "This is where the subtitle goes") }} {{ .Content }} diff --git a/site/layouts/contact/single.html b/site/layouts/contact/single.html index e145123..07e5ce4 100644 --- a/site/layouts/contact/single.html +++ b/site/layouts/contact/single.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} diff --git a/site/layouts/index.html b/site/layouts/index.html index 158ddc6..6d4e1ff 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html new file mode 100644 index 0000000..6c5c593 --- /dev/null +++ b/site/layouts/partials/head.html @@ -0,0 +1,31 @@ + + + + + + {{.Title}} | Kaldi + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/layouts/partials/header.html b/site/layouts/partials/header.html deleted file mode 100644 index bb80d33..0000000 --- a/site/layouts/partials/header.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - {{.Title}} | Kaldi - - - - - - - - - - diff --git a/site/layouts/post/single.html b/site/layouts/post/single.html index e7198b3..4d6ea43 100644 --- a/site/layouts/post/single.html +++ b/site/layouts/post/single.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }}

{{.Title}}

diff --git a/site/layouts/products/single.html b/site/layouts/products/single.html index 81bef18..162c195 100644 --- a/site/layouts/products/single.html +++ b/site/layouts/products/single.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} {{ partial "jumbotron" (dict "imageUrl" "/img/products/jumbotron.jpg" "title" "Products") }} diff --git a/site/layouts/values/single.html b/site/layouts/values/single.html index 0add0a7..552922a 100644 --- a/site/layouts/values/single.html +++ b/site/layouts/values/single.html @@ -1,4 +1,4 @@ -{{ partial "header" . }} +{{ partial "head" . }} {{ partial "nav" . }} {{ partial "jumbotron" (dict "imageUrl" "/img/about/jumbotron.jpg" "title" "Values") }} -- cgit v1.3