aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-12-27 00:48:42 -0700
committerBryson Steck <brysonsteck@protonmail.com>2022-12-27 00:48:42 -0700
commit199f5ca505ca7392b3e770e83c5150a9f897d6d0 (patch)
treec8a4c1b5576db270b8b73ae848bc0e76e3ad6001 /layouts/index.html
parent4cd9efaf56b61e86782e13a5b15411b679b5c259 (diff)
downloadwebsite-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar
website-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar.gz
website-199f5ca505ca7392b3e770e83c5150a9f897d6d0.tar.bz2
somewhat functional website now
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
new file mode 100644
index 0000000..4559344
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,10 @@
+{{ partial "head.html" . }}
+{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
+{{- if .OutputFormats.Get "html" }}
+<div class="list p-3 rounded-3">
+<a href="{{.Permalink}}">{{.Title}}</a>
+<span><br>{{.Date.Format "January 2, 2006"}}</span>
+</div>
+{{ end }}
+{{ end }}
+{{ partial "foot.html" . }}