diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-27 14:04:30 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-27 14:04:30 +0700 |
commit | fa98ab0589d4be1ca89a0538f6826b0037ff9821 (patch) | |
tree | 7c019babc4d02a3b7bc8dfb2fb6550fdc58345c7 /layouts/index.html | |
parent | 890252ec5e659b439165e0d18ca991ef1bfad9ee (diff) | |
download | victor-fa98ab0589d4be1ca89a0538f6826b0037ff9821.tar.gz |
Set up layout and navigation
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 10 |
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 }} |