diff options
| author | Sivaldo <git@sivaldodavi.com> | 2026-06-29 18:36:52 -0300 |
|---|---|---|
| committer | Sivaldo <git@sivaldodavi.com> | 2026-06-29 18:36:52 -0300 |
| commit | dd7670cf72b27c1b330d3732a483ca22e3a3db18 (patch) | |
| tree | 16d4e458d93cd7181d4ebc950ed406b45038f53b /layouts/_default/list.html | |
Commit inicial
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..5468281 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,27 @@ +{{ partial "header.html" . -}} + +<main> + <section class="post-body"> + <a class="back-link" href="/">← voltar</a> + + <h1 class="page-title">{{ .Title | title }}</h1> + + <ul class="recent-posts"> + {{ range .RegularPages.ByDate.Reverse }} + <li> + <span class="recent-post-left"> + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ with .Params.tags }}{{ range . }} + <a href="{{ "/tags/" | relURL }}{{ . | urlize }}/" class="post-tag">{{ . }}</a> + {{ end }}{{ end }} + </span> + {{ with .Params.date }} + <span class="recent-post-date">{{ . | time | dateFormat "2006-01-02" }}</span> + {{ end }} + </li> + {{ end }} + </ul> + </section> +</main> + +{{ partial "footer.html" . }} |
