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/_default/single.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/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..cb76f1a --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,19 @@ +{{ partial "header.html" . }} +<main> + <header class="header-inline"> + <div class="heading"> + <div class="info"> + <div class="content"> + {{ if (gt .Params.date 0) }} {{ .Date.Format "January 2, 2006" }} {{ end }} {{ if (gt .Params.author 0) }} by {{ with .Params.author }} {{ . }} {{ end }} {{ end }} + </div> + </div> + <div class="content"> + <h1>{{ .Title | markdownify }}</h1> + </div> + </div> + </header> + <div class="content"> + {{ .Content }} + </div> +</main> +{{ partial "footer.html" . }} |