From 58805381571574f39ff3ddeaf98f64d708486ca7 Mon Sep 17 00:00:00 2001 From: Jan Raasch Date: Mon, 31 Aug 2020 15:40:11 +0200 Subject: chore: initial commit --- layouts/partials/custom_body.html | 3 ++ layouts/partials/custom_head.html | 3 ++ layouts/partials/favicon.html | 2 + layouts/partials/footer.html | 1 + layouts/partials/head.html | 14 ++++++ layouts/partials/header.html | 4 ++ layouts/partials/nav.html | 5 ++ layouts/partials/seo_tags.html | 13 +++++ layouts/partials/style.html | 99 +++++++++++++++++++++++++++++++++++++++ 9 files changed, 144 insertions(+) create mode 100644 layouts/partials/custom_body.html create mode 100644 layouts/partials/custom_head.html create mode 100644 layouts/partials/favicon.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/nav.html create mode 100644 layouts/partials/seo_tags.html create mode 100644 layouts/partials/style.html (limited to 'layouts/partials') diff --git a/layouts/partials/custom_body.html b/layouts/partials/custom_body.html new file mode 100644 index 0000000..951fb15 --- /dev/null +++ b/layouts/partials/custom_body.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html new file mode 100644 index 0000000..4c53c40 --- /dev/null +++ b/layouts/partials/custom_head.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html new file mode 100644 index 0000000..ccf1a5d --- /dev/null +++ b/layouts/partials/favicon.html @@ -0,0 +1,2 @@ +{{ with .Site.Params.favicon }} +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..8eca955 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1 @@ +{{ if ne .Site.Params.hideMadeWithLine true }}Made with Hugo ʕ•ᴥ•ʔ Bear{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..69488a7 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,14 @@ + + + +{{- partial "favicon.html" . -}} +{{- block "title" . }}{{ .Site.Title }}{{- end }} + +{{- partial "seo_tags.html" . -}} + + +{{ with .OutputFormats.Get "rss" -}} +{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} + +{{- partial "style.html" . -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e47df70 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,4 @@ + +

{{ .Site.Title }}

+
+ diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..dd06f47 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,5 @@ +Home +{{ range .Site.Menus.main }} +{{ .Name }} +{{ end }} +Blog diff --git a/layouts/partials/seo_tags.html b/layouts/partials/seo_tags.html new file mode 100644 index 0000000..0b01f8b --- /dev/null +++ b/layouts/partials/seo_tags.html @@ -0,0 +1,13 @@ + + + + + + +{{ template "_internal/opengraph.html" . }} + + +{{ template "_internal/twitter_cards.html" . }} + + +{{ template "_internal/schema.html" . }} diff --git a/layouts/partials/style.html b/layouts/partials/style.html new file mode 100644 index 0000000..d429eb2 --- /dev/null +++ b/layouts/partials/style.html @@ -0,0 +1,99 @@ + -- cgit v1.2.3