summaryrefslogtreecommitdiff
path: root/themes/hugo-coder/layouts/partials/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-coder/layouts/partials/list.html')
m---------themes/hugo-coder0
-rw-r--r--themes/hugo-coder/layouts/partials/list.html22
2 files changed, 22 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/partials/list.html b/themes/hugo-coder/layouts/partials/list.html
new file mode 100644
index 0000000..243e1af
--- /dev/null
+++ b/themes/hugo-coder/layouts/partials/list.html
@@ -0,0 +1,22 @@
1<section class="container list">
2 <h1 class="title">
3 <a class="title-link" href="{{ .Permalink | safeURL }}">
4 {{- if eq .Kind "term" -}}
5 {{- i18n .Data.Singular | title -}}
6 {{- print ": " -}}
7 {{- end -}}
8
9 {{- i18n (lower .Title) | default .Title | title -}}
10 </a>
11 </h1>
12 {{ .Content }}
13 <ul>
14 {{ range .Paginator.Pages }}
15 <li>
16 <span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
17 <a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a>
18 </li>
19 {{ end }}
20 </ul>
21 {{ partial "pagination.html" . }}
22</section>