diff options
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 }} |