about summary refs log tree commit diff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 10:01:52 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 10:01:52 +0700
commit35e9f6324dba0757e7c967fab6d000e44b4d5074 (patch)
tree6750e147708092e0397ee2f581f2c9ccd1c00455 /layouts/index.html
parent46b1e6c785c9e15e721faa54d6e979c5c226c1a3 (diff)
downloadblog-35e9f6324dba0757e7c967fab6d000e44b4d5074.tar.gz
Update theme
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/layouts/index.html b/layouts/index.html
deleted file mode 100644
index 8367de4..0000000
--- a/layouts/index.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 }}