diff options
Diffstat (limited to 'themes/hugo-coder/layouts/posts/list.html')
| m--------- | themes/hugo-coder | 0 | ||||
| -rw-r--r-- | themes/hugo-coder/layouts/posts/list.html | 21 |
2 files changed, 21 insertions, 0 deletions
diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 | |||
| Subproject 55b2a150f990bc56364dba347bc9acc6aab07be | |||
diff --git a/themes/hugo-coder/layouts/posts/list.html b/themes/hugo-coder/layouts/posts/list.html new file mode 100644 index 0000000..8ed6850 --- /dev/null +++ b/themes/hugo-coder/layouts/posts/list.html | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | {{ define "title" }} | ||
| 2 | {{ title (i18n (lower .Title)) | default .Title }} ยท {{ .Site.Title }} | ||
| 3 | {{ end }} | ||
| 4 | {{ define "content" }} | ||
| 5 | <section class="container list"> | ||
| 6 | <h1 class="title"> | ||
| 7 | <a class="title-link" href="{{ .Permalink | safeURL }}"> | ||
| 8 | {{ title (i18n (lower .Title)) | default .Title }} | ||
| 9 | </a> | ||
| 10 | </h1> | ||
| 11 | {{ .Content }} | ||
| 12 | <ul> | ||
| 13 | e | ||
| 14 | {{- range .Paginator.Pages -}} | ||
| 15 | {{- .Render "li" -}} | ||
| 16 | {{- end -}} | ||
| 17 | </ul> | ||
| 18 | |||
| 19 | {{ partial "pagination.html" . }} | ||
| 20 | </section> | ||
| 21 | {{ end }} | ||
