tlwiki/layouts/partials/posts.html

18 lines
420 B
HTML

<h3>All Pages in {{ with .Site.GetPage "section" .Section }} {{ .Title }} {{ end }}</h3>
<ul>
{{ range where .Pages ".File.BaseFileName" "!=" "index" }}
<li>
<a href="{{ .RelPermalink }}">
{{ with .Title }}
{{ . }}
{{ else }}
{{ .File.BaseFileName | humanize }}
{{ end }}
</a>
</li>
{{ with .Description }}
-- {{.}}
{{ end }}
{{ end }}
</ul>