summaryrefslogtreecommitdiffhomepage
path: root/layouts/docs
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
committerIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
commit22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch)
tree110ec3a84a72560244ee4476852295b86a737eb0 /layouts/docs
Initial commit
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/list.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
new file mode 100644
index 000000000..4afc32653
--- /dev/null
+++ b/layouts/docs/list.html
@@ -0,0 +1,30 @@
+{{ define "title"}} {{ .Title}} {{end}}
+{{ define "main" }}
+
+{{ if .Content }}
+{{ .Render "content" }}
+{{ else }}
+<div id="hero" class="wrap td-content ">
+ <h1>{{ .Title }}</h1>
+ {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
+</div>
+
+<section id="pageContent">
+
+{{ range .Sections.ByWeight }}
+ <li>
+ <a href="{{.Permalink}}">{{.Title}}</a>
+ </li>
+{{ end }}
+
+{{ range .Paginator.Pages.ByWeight }}
+ <li>
+ <a href="{{.Permalink}}">{{.Title}}</a>
+ </li>
+{{ end }}
+
+</section>
+
+{{ end }}
+
+{{ end }}