home/layouts/_default/list.html
2024-08-28 21:24:07 +03:00

25 lines
553 B
HTML

{{ partial "header.html" . }}
<div class="content-wrapper">
{{if not .IsHome }}
<h1>{{ .Title | markdownify }}</h1>
{{ end }}
{{ .Content }}
<!--
{{if not .IsHome }}
<ul>
{{ $pages := .Pages }}
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
{{ range (where $pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ end }}
-->
</div>
{{ partial "footer.html" . }}