diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 14:15:14 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 14:15:14 +0000 |
commit | 8cb6a3007590117228191d89052c9c2a6277ee7c (patch) | |
tree | 1ee3f2a6ae0854a6409bb1666e5bfe232726130a /layouts/index.html | |
parent | c44108b021903aaf5dfb32ac081d570c713b169e (diff) |
added blank home page template and updated copyright year
Diffstat (limited to '')
-rw-r--r-- | layouts/index.html | 22 |
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 }} + + |