2022-06-03 04:05:36 +00:00
|
|
|
{{ $pages := ((.Context).Value "adapter").ListPages }}
|
|
|
|
|
2022-05-29 04:45:44 +00:00
|
|
|
{{ template "header" .}}
|
2022-06-03 04:05:36 +00:00
|
|
|
<div class="page-list">
|
|
|
|
<a class="new-page-button" href="/new/">New Page</a>
|
|
|
|
<ul>
|
|
|
|
{{ range $slug, $title := $pages }}
|
|
|
|
<li><a href="/edit/{{$slug}}">{{$title}}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="static-files-list">
|
|
|
|
</div>
|
2022-05-29 04:45:44 +00:00
|
|
|
{{ template "footer" .}}
|