about summary refs log tree commit diff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-27 14:04:30 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-27 14:04:30 +0700
commitfa98ab0589d4be1ca89a0538f6826b0037ff9821 (patch)
tree7c019babc4d02a3b7bc8dfb2fb6550fdc58345c7 /layouts/index.html
parent890252ec5e659b439165e0d18ca991ef1bfad9ee (diff)
downloadvictor-fa98ab0589d4be1ca89a0538f6826b0037ff9821.tar.gz
Set up layout and navigation
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index e69de29..07fbc94 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+<main>
+	{{ .Content }}
+	<ul>
+		{{ range .Pages }}
+		<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+		{{ end }}
+	</ul>
+</main>
+{{ end }}