aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorZach Berwaldt <zberwaldt@tutamail.com>2023-02-04 08:07:34 -0500
committerZach Berwaldt <zberwaldt@tutamail.com>2023-02-04 08:07:34 -0500
commit24e058c3eb3a278023c4ecee7efa9a73774ded0b (patch)
treeebda1d575934102a4012dbb5d01df35debeaff27 /layouts/partials
parent0e39b5cd5bd26d408355e01d46c356d093befe1c (diff)
theme development
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