aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/micro/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/micro/list.html')
-rw-r--r--layouts/micro/list.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/micro/list.html b/layouts/micro/list.html
new file mode 100644
index 0000000..030d847
--- /dev/null
+++ b/layouts/micro/list.html
@@ -0,0 +1,23 @@
+{{ partial "head" . }}
+
+<header>
+ <a href="/"><img id="logo" src="{{ .Site.Params.logo }}" /></a>
+ <h1>{{ .Title }}</h1>
+</header>
+<main>
+<p>{{ .Site.Params.intro }}</p>
+<div class="archive">
+ <h2>Archive</h2>
+ {{ range (where .Site.RegularPages "Type" "micro").GroupByDate "2006" }}
+ <h3 class="archive-title">{{ .Key }}</h3>
+ {{ range .Pages }}
+ <article class="list-item">
+ <a href="{{ .Permalink }}" class="list-item-link">{{ .Title }}</a>
+ <span class="list-item-date">{{ .Date.Format "January 2, 2006" }}</span>
+{{ .Content }}
+ </article>
+ {{ end }}
+ {{ end }}
+</div>
+</main>
+{{ partial "footer" . }}