My Theme
This commit is contained in:
14
themes/papercut/layouts/_default/list.html
Normal file
14
themes/papercut/layouts/_default/list.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{ define "main" }}
|
||||
<div class="container">
|
||||
<main>
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3">
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<p class="my-2 p-0">
|
||||
{{ .PublishDate.Format "2006-01-02" }}
|
||||
<a class="text-clean" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user