aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorZach Berwaldt <zberwaldt@tutamail.com>2023-05-13 22:39:58 -0400
committerZach Berwaldt <zberwaldt@tutamail.com>2023-05-13 22:39:58 -0400
commitb34e09f8fe1011963934dbf40dc92f0b258592ca (patch)
treec99974d127163b266f107d5c9c5e1f126a233087 /layouts/partials
parent24e058c3eb3a278023c4ecee7efa9a73774ded0b (diff)
more layout work
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/head.html3
-rw-r--r--layouts/partials/header.html22
3 files changed, 22 insertions, 7 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e72253b..eb1e7e7 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,3 +1,5 @@
1<footer> 1<footer>
2 <h1>{{ .Title }}</h1> 2 <div class="container">
3 <h3>{{ .Site.Title }}</h3>
4 </div>
3</footer> \ No newline at end of file 5</footer> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 73308f4..dbc55b1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,5 +1,8 @@
1<head> 1<head>
2 <title>{{ .Title }}</title> 2 <title>{{ .Title }}</title>
3 {{ with resources.Get "css/pico.min.css" }}
4 <link rel="stylesheet" href="{{ .RelPermalink }}">
5 {{ end }}
3 {{ with resources.Get "css/main.css" }} 6 {{ with resources.Get "css/main.css" }}
4 <link rel="stylesheet" href="{{ .RelPermalink }}"> 7 <link rel="stylesheet" href="{{ .RelPermalink }}">
5 {{ end }} 8 {{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d0930a3..4a9ae70 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,8 +1,18 @@
1<header> 1<header>
2 <h1>{{ .Title | default .Site.Title }}</h1> 2 <div class="container">
3 <nav> 3 <nav>
4 {{ range .Site.Menus.main }} 4 <ul>
5 <a href="{{ .URL }}">{{ .Name }}</a> 5 <li>
6 {{ end }} 6 <strong>
7 </nav> 7 {{ .Site.Title }}
8 </strong>
9 </li>
10 </ul>
11 <ul>
12 {{ range .Site.Menus.main }}
13 <li><a href="{{ .URL }}">{{ .Name }}</a></li>
14 {{ end }}
15 </ul>
16 </nav>
17 </div>
8</header> \ No newline at end of file 18</header> \ No newline at end of file