about summary refs log tree commit diff
path: root/layouts/index.old.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-23 01:19:27 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-23 01:19:27 +0700
commit40f57ed72a601d8489a180f3bd9acd5e6c20d323 (patch)
tree6dd84fffd42e809f5123333deb8bb1a366a97cfc /layouts/index.old.html
parent2cff39c15ffb512f87ed5f8a2f71603e9ff2d4c7 (diff)
downloadblog-40f57ed72a601d8489a180f3bd9acd5e6c20d323.tar.gz
Update theme
Diffstat (limited to 'layouts/index.old.html')
-rw-r--r--layouts/index.old.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/layouts/index.old.html b/layouts/index.old.html
deleted file mode 100644
index 8367de4..0000000
--- a/layouts/index.old.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{{ define "main" }}
-    <div class="homepage-content">
-        {{ .Content }}
-        <ul>
-            {{ range .Site.Sections }}
-            <li> <a href="{{ .Permalink }}">{{ i18n .Title }}</a> </li>
-            {{ end }}
-        </ul>
-    </div>
-
-    <div class="articles h-feed">
-        {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
-        {{ range (.Paginate $pages).Pages }}
-            {{ partial "post-summary.html" . }}
-        {{ end }}
-        {{ partial "pagination.html" . }}
-    </div>
-
-{{ end }}