aboutsummaryrefslogtreecommitdiff
path: root/themes/XMin/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/XMin/layouts/_default/list.html')
-rw-r--r--themes/XMin/layouts/_default/list.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/XMin/layouts/_default/list.html b/themes/XMin/layouts/_default/list.html
new file mode 100644
index 0000000..06b290a
--- /dev/null
+++ b/themes/XMin/layouts/_default/list.html
@@ -0,0 +1,20 @@
+{{ partial "header.html" . }}
+
+{{if not .IsHome }}
+<h1>{{ .Title | markdownify }}</h1>
+{{ end }}
+
+{{ .Content }}
+
+<ul>
+ {{ $pages := .Pages }}
+ {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
+ {{ range (where $pages "Section" "!=" "") }}
+ <li>
+ <span class="date">{{ .Date.Format "2006/01/02" }}</span>
+ <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
+ </li>
+ {{ end }}
+</ul>
+
+{{ partial "footer.html" . }}