Skip to content

Commit

Permalink
Initial version of list pages for the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahmaddox committed Dec 3, 2018
1 parent 0a706e7 commit 6b7bbe8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions layouts/docs/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{ define "title"}} {{ .Title}} {{end}}
{{ define "main" }}

<div id="hero" class="wrap">
<h1>{{ .Title }}</h1>
</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 }}

0 comments on commit 6b7bbe8

Please sign in to comment.