From b6cbaa47ab6da7387b0450abeeccfc82f730aa80 Mon Sep 17 00:00:00 2001 From: Guy Taylor Date: Tue, 15 Jan 2019 15:20:15 +0000 Subject: [PATCH] Add _index.md giving the homepage a githash This fixes issue #4 Note: This also allows _index.md to add content to the homepage --- site/content/_index.md | 4 ++++ site/layouts/index.html | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 site/content/_index.md diff --git a/site/content/_index.md b/site/content/_index.md new file mode 100644 index 0000000..7a32beb --- /dev/null +++ b/site/content/_index.md @@ -0,0 +1,4 @@ +--- +date: 2019-01-14T14:38:43+01:00 + +--- diff --git a/site/layouts/index.html b/site/layouts/index.html index ee57cc4..34cf1ee 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -1,5 +1,9 @@ {{ define "main" }} +{{ "" | safeHTML }} +{{ .Content }} +{{ "" | safeHTML }} +
{{ range $page := .Pages }}