summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-28 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-28 00:00:00 +0000
commitb1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2 (patch)
tree20ff16d4b8db72a0f387faf722fc1534440678d8cd6663111ec052bde04718d4 /layouts/index.html
downloadhugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.tar.gz
hugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.zip
Initial commit
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..38c3c81
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,14 @@
+{{ define "main" }}
+<h1>{{ .Site.Params.indexTitle }}</h1>
+<p>{{ .Site.Params.indexIntro }}</p>
+<h2>Navigation Links</h2>
+<nav>
+ <p>
+ {{- range .Site.Menus.main }}
+ <a href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a><br>
+ {{- end }}
+ </p>
+</nav>
+<h2>Journal Entries</h2>
+{{ partial "metadata.html" . }}
+{{ end }}