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
commit8555cf72dec9321fa010296ce6988cf7b7cf602b (patch)
tree006ad83008cc8e08524631ebb4b638bfbfa490fd /themes/hugo-coder/layouts/posts/list.html
parent2e1cd1a569ea516be6bfdc681411cae51632a290 (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 }}