about summary refs log tree commit diff
path: root/layouts/_default/list.old.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/_default/list.old.html
parent46b1e6c785c9e15e721faa54d6e979c5c226c1a3 (diff)
downloadblog-35e9f6324dba0757e7c967fab6d000e44b4d5074.tar.gz
Update theme
Diffstat (limited to 'layouts/_default/list.old.html')
-rw-r--r--layouts/_default/list.old.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/_default/list.old.html b/layouts/_default/list.old.html
new file mode 100644
index 0000000..33bd8b5
--- /dev/null
+++ b/layouts/_default/list.old.html
@@ -0,0 +1,20 @@
+{{ define "main" }}
+    <div class="index-content">
+        {{ .Content }}
+    </div>
+
+    <div class="articles h-feed">
+        <h1 class="post-title">{{ i18n .Title }}</h1>
+        {{ if not .Params.no_feed }}
+        {{ range .Page.CurrentSection.Pages }}
+            <div class="post-short-list h-entry">
+                <header class="post-header"> 
+                    <h2 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
+                </header>
+                {{ partial "post-info.html" . }}
+            </div>
+        {{ end }}
+        {{ end}}
+    </div>
+
+{{ end }}