aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2019-12-18 01:04:15 -0500
committerMatt Kohls <mattkohls13@gmail.com>2019-12-18 01:04:15 -0500
commit6c53b50ec3afaabbe3f09c6e838baf63e17499b1 (patch)
tree8044f943886c78db68ff4c860ba8f5b918bebb28 /layouts/_default/list.html
downloadsimplesource-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/list.html')
-rw-r--r--layouts/_default/list.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..ffe85da
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,14 @@
+{{ partial "header.html" . }}
+<div class="content">
+ {{ if not .IsHome }}
+ <h1>{{ .Title | markdownify }}</h1>
+ {{ end }}
+ <ul>
+ {{ range (where .Data.Pages "Section" "!=" "") }}
+ <li>{{ .Date.Format "January 2, 2006" }}
+ <a href="{{ .URL }}">{{ .Title | markdownify }}</a>
+ </li>
+ {{ end }}
+ </ul>
+</div>
+{{ partial "footer.html" . }}