45 lines
No EOL
850 B
HTML
45 lines
No EOL
850 B
HTML
{{ define "body" }}
|
|
<body class="layout-_default-sitemap">
|
|
<main>
|
|
<header>
|
|
<div class="container">
|
|
<h1>{{.Title}}</h1>
|
|
<p>alternate formats: <a href="/sitemap.xml">[XML]</a></p>
|
|
</div>
|
|
</header>
|
|
<hr>
|
|
<section>
|
|
<div class="container">
|
|
<header>
|
|
<h2>most recently updated</h2>
|
|
</header>
|
|
<ul class="page-list">
|
|
{{ range where .Pages "Sitemap.Disable" "ne" true }}
|
|
{{- if .Permalink -}}
|
|
<li>
|
|
<a href="{{.Permalink}}">
|
|
{{.RelPermalink}}
|
|
</a>
|
|
<br>
|
|
<span>{{ .Lastmod.UTC.Format "2006-01-02" }}</span>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<style>
|
|
.page-list {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
hr {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
</style>
|
|
</body>
|
|
{{ end }} |