aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html3
-rw-r--r--layouts/partials/head.html9
-rw-r--r--layouts/partials/header.html8
3 files changed, 20 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e69de29..e72253b 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -0,0 +1,3 @@
1<footer>
2 <h1>{{ .Title }}</h1>
3</footer> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e69de29..73308f4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -0,0 +1,9 @@
1<head>
2 <title>{{ .Title }}</title>
3 {{ with resources.Get "css/main.css" }}
4 <link rel="stylesheet" href="{{ .RelPermalink }}">
5 {{ end }}
6 {{- template "_internal/opengraph.html" . -}}
7 {{- template "_internal/schema.html" . -}}
8 {{- template "_internal/twitter_cards.html" . -}}
9</head> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e69de29..d0930a3 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -0,0 +1,8 @@
1<header>
2 <h1>{{ .Title | default .Site.Title }}</h1>
3 <nav>
4 {{ range .Site.Menus.main }}
5 <a href="{{ .URL }}">{{ .Name }}</a>
6 {{ end }}
7 </nav>
8</header> \ No newline at end of file