aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-03-11 16:48:08 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-03-11 16:48:08 -0400
commit0f2e3dc7077e1a4b464f1e9b9daa53ee4d439210 (patch)
tree37ee9c5d27a79e256c45d791ebed5e57b25d9d0b /layouts
parent51fe7eca430ff70b626965bdd49f5e843963148b (diff)
add poetry section
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html12
-rw-r--r--layouts/partials/header.html2
2 files changed, 13 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..85f8b4a
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,12 @@
+{{ define "header" }}
+ <h1>{{ .Title }}</h1>
+ <time datetime="{{ .Date }}">{{ .Date | time.Format ":date_full" }}</time>
+{{ end }}
+
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}
+
+{{ define "footer" }}
+ {{ partial "meta-tag_nav.html" . }}
+{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 0128c2f..a4689ac 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
<li><a href="/projects">Projects</a></li>
<li><a href="/research">Research</a></li>
<li><a href="/utilities">Utilities</a></li>
+ <li><a href="/poetry">Poetry</a></li>
<li><a href="/blog">Blog</a></li>
</menu>
</nav>
-<!-- TODO -->