diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2019-12-18 01:04:15 -0500 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2019-12-18 01:04:15 -0500 |
commit | 6c53b50ec3afaabbe3f09c6e838baf63e17499b1 (patch) | |
tree | 8044f943886c78db68ff4c860ba8f5b918bebb28 /layouts/index.html | |
download | simplesource-6c53b50ec3afaabbe3f09c6e838baf63e17499b1.tar.gz simplesource-6c53b50ec3afaabbe3f09c6e838baf63e17499b1.tar.bz2 simplesource-6c53b50ec3afaabbe3f09c6e838baf63e17499b1.zip |
Mostly working initial stuff
TODO:
CSS needs to be defined
Index page lists about page when it shouldn't
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..624f3a0 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,13 @@ +{{ partial "header.html" . }} +<div class="content"> + {{ .Content }} + + <ul> + {{ range .Site.RegularPages }} + <li>{{ .Date.Format "January 2, 2006" }} + <a href="{{ .URL }}">{{ .Title | markdownify }}</a> + </li> + {{ end }} + </ul> +</div> +{{ partial "footer.html" . }} |