aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts
diff options
context:
space:
mode:
authorDarin Dimitroff <d@thecrazyones.agency>2017-01-17 17:16:36 +0200
committerDarin Dimitroff <d@thecrazyones.agency>2017-01-17 17:16:52 +0200
commit5248a576a106552a71e720314299e7269d8f5bb5 (patch)
tree1b3039845d6f3e1eb27827d8665e63accdc5c813 /site/layouts
parent0115515eef708638ffe1c9c2d85ee5e479b35320 (diff)
Updates head partial and adds favicons
Renames “header” to “head”.
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/_default/list.html2
-rw-r--r--site/layouts/_default/single.html2
-rw-r--r--site/layouts/contact/single.html2
-rw-r--r--site/layouts/index.html2
-rw-r--r--site/layouts/partials/head.html31
-rw-r--r--site/layouts/partials/header.html14
-rw-r--r--site/layouts/post/single.html2
-rw-r--r--site/layouts/products/single.html2
-rw-r--r--site/layouts/values/single.html2
9 files changed, 38 insertions, 21 deletions
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 @@
+<!doctype html>
+<html>
+ <head>
+
+ <html lang="en-US">
+ <title>{{.Title}} | Kaldi</title>
+ <link rel="stylesheet" href="/css/main.css"/>
+
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">
+
+ <!-- Favicons -->
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
+ <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
+ <link rel="manifest" href="/manifest.json">
+ <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ff4400">
+ <meta name="theme-color" content="#fff">
+
+ <!-- Open Graph -->
+ <meta property="og:type" content="business.business">
+ <meta property="og:title" content="Kaldi | Great coffee with a conscience">
+ <meta property="og:url" content="http://kaldi.netlify.com/">
+ <meta property="og:image" content="http://kaldi.netlify.com/og-image.jpg">
+
+ </head>
+
+ <body class="sans-serif">
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 @@
-<!doctype html>
-<html>
- <head>
- <title>{{.Title}} | Kaldi</title>
- <link rel="stylesheet" href="/css/main.css"/>
-
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">
- </head>
-
- <body class="sans-serif">
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" . }}
<div class="mw6 center ph3 pv4">
<h1 class="f2 lh-title b mb3">{{.Title}}</h1>
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") }}