2019-04-06 19:23:22 +02:00
|
|
|
{{define "pages"}}
|
|
|
|
{{template "header" .}}
|
|
|
|
|
2019-04-11 19:56:07 +02:00
|
|
|
<style>
|
|
|
|
table.classy.export .disabled, table.classy.export a {
|
|
|
|
text-transform: initial;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2019-04-06 19:23:22 +02:00
|
|
|
<div class="snug content-container">
|
|
|
|
{{template "admin-header" .}}
|
|
|
|
|
|
|
|
<h2 id="posts-header" style="display: flex; justify-content: space-between;">Pages</h2>
|
|
|
|
|
|
|
|
<table class="classy export" style="width:100%">
|
|
|
|
<tr>
|
2019-04-11 19:56:07 +02:00
|
|
|
<th>Page</th>
|
2019-04-06 19:23:22 +02:00
|
|
|
<th>Last Modified</th>
|
|
|
|
</tr>
|
2019-06-27 23:06:37 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="2"><a href="/admin/page/landing">Home</a></td>
|
|
|
|
</tr>
|
2019-04-06 19:23:22 +02:00
|
|
|
{{range .Pages}}
|
|
|
|
<tr>
|
2019-04-11 19:56:07 +02:00
|
|
|
<td><a href="/admin/page/{{.ID}}">{{if .Title.Valid}}{{.Title.String}}{{else}}{{.ID}}{{end}}</a></td>
|
2019-04-06 19:23:22 +02:00
|
|
|
<td style="text-align:right">{{.UpdatedFriendly}}</td>
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{template "footer" .}}
|
|
|
|
{{end}}
|