tobast.fr-hugo/layouts/_default/list.html

18 lines
289 B
HTML
Raw Normal View History

2019-10-08 20:53:12 +02:00
{{ define "pagename" }}
<h1>{{ .Title }}</h1>
{{ end }}
{{ define "main" }}
<div class="descr">
{{ .Content }}
</div>
<div class="list">
<ul>
{{ range .Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}