diff options
Diffstat (limited to 'layouts/docs/list.html')
-rw-r--r-- | layouts/docs/list.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/layouts/docs/list.html b/layouts/docs/list.html deleted file mode 100644 index 03b3721..0000000 --- a/layouts/docs/list.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" }} - <div> - <h1 class="title {{ if eq (len .Pages) 0 }}centered{{ end }}"> - {{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }} - </h1> - {{ if ne (len .Pages) 0 }} - <p>{{ .Description }}</p> - {{ end }} - - {{ .Content }} - - <ul class="range"> - {{ if ne (len .Sections) 0}} - {{ range .Sections }} - <li> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }} - <ul class="range"> - <!-- Show pages under this section (but not subsections) --> - {{ range (union .Sections .Pages).ByWeight }} - <li> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }} - </li> - {{ end }} - </ul> - </li> - {{ end }} - {{ else }} - {{ range .RegularPages.ByWeight }} - <li> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }} - </li> - {{ end }} - {{ end }} - </ul> - </div> -{{ end }} |