summaryrefslogtreecommitdiff
path: root/themes/hugo-coder/layouts/posts/list.html
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2021-12-26 00:30:09 -0500
committerRyan Schanzenbacher <ryan@rschanz.org>2021-12-26 00:30:09 -0500
commit98a21b966410c127e74b16e7a2817882ee16560f (patch)
treeee646c86e3d3f0fa1cd952294d49feeeb700d60f /themes/hugo-coder/layouts/posts/list.html
parente6eec31b71ab728f6610f4e764b2e206fb95f940 (diff)
convert theme from submodule to regular files
Diffstat (limited to 'themes/hugo-coder/layouts/posts/list.html')
m---------themes/hugo-coder0
-rw-r--r--themes/hugo-coder/layouts/posts/list.html21
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 }}