aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/archive.terms.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/_default/archive.terms.html b/layouts/_default/archive.terms.html
new file mode 100644
index 0000000..0233daa
--- /dev/null
+++ b/layouts/_default/archive.terms.html
@@ -0,0 +1,21 @@
+{{ define "main" }}
+<div id="content" class="bg-near-white pa2">
+ {{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006" }}
+ <section class="f4 bb b--black-40 mw7 center">
+ <h4 class="">{{ .Key }}</h4>
+
+ {{ range .Pages.GroupByDate "January" }}
+ <ul class="list mv1">
+ <li class="b">{{ .Key }}</li>
+
+ <ul class="pv2">
+ {{ range .Pages }}
+ <li class="black-50"><a href="{{ .Permalink }}" class="f4 dark-gray underline-hover">{{.Title}}</a> - {{ .Date.Format "Jan 2" }}</li>
+ {{ end}}
+ </ul>
+ </ul>
+ {{ end}}
+ </section>
+ {{ end }}
+</div>
+{{ end }}