summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2022-01-03 14:15:14 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2022-01-03 14:15:14 +0000
commit8cb6a3007590117228191d89052c9c2a6277ee7c (patch)
tree1ee3f2a6ae0854a6409bb1666e5bfe232726130a /layouts/index.html
parentc44108b021903aaf5dfb32ac081d570c713b169e (diff)
added blank home page template and updated copyright year
Diffstat (limited to '')
-rw-r--r--layouts/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..de7fa73
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,22 @@
+
+{{ define "main" }}
+ <main aria-role="main">
+ <header class="homepage-header">
+ <h1>{{.Title}}</h1>
+ {{ with .Params.subtitle }}
+ <span class="subtitle">{{.}}</span>
+ {{ end }}
+ </header>
+ <div class="homepage-content">
+ <!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
+ {{.Content}}
+ </div>
+ <div>
+ {{ range first 10 .Site.RegularPages }}
+ {{ .Render "summary"}}
+ {{ end }}
+ </div>
+ </main>
+{{ end }}
+
+