summaryrefslogtreecommitdiff
path: root/themes/mytheme/layouts/_default/list.html
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2025-12-21 12:28:33 +0100
committermjkwiatkowski <mati.rewa@gmail.com>2025-12-21 12:28:33 +0100
commita96d8ec708500b10cf48298213922b7dc0398d9a (patch)
treec8c180e06bee1e81effb3f8f9085c7edd9093630 /themes/mytheme/layouts/_default/list.html
parent87370a6c7d891a30d6a50ed66ac98feda5a63817 (diff)
refactor: moved files from themes to layouts and static
Diffstat (limited to 'themes/mytheme/layouts/_default/list.html')
-rw-r--r--themes/mytheme/layouts/_default/list.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/themes/mytheme/layouts/_default/list.html b/themes/mytheme/layouts/_default/list.html
deleted file mode 100644
index 63ecf26..0000000
--- a/themes/mytheme/layouts/_default/list.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ partial "header.html" . }}
-<div style="display: block; float: left">
- <div class="container">
- <h2>Recent posts</h2>
- <div class="content-wrapper">
-
- {{ .Content }}
-
- <ul class="content-list">
- {{ $pages := .Pages }}
- {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
- {{ range (where $pages "Section" "==" "posts") }}
- <li>
- <span class="date">{{ .Date.Format "2006/01/02" }}</span>
- <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
- </li>
- {{ end }}
- </ul>
- </div>
- </div>
-</div>
-{{ partial "footer.html" . }}