diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
---|---|---|
committer | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
commit | 22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch) | |
tree | 110ec3a84a72560244ee4476852295b86a737eb0 /layouts/docs/list.html |
Initial commit
Diffstat (limited to 'layouts/docs/list.html')
-rw-r--r-- | layouts/docs/list.html | 30 |
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 }} |