diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-16 00:28:40 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-16 00:29:22 +0200 |
commit | 487e6410cb1b3d2dcfa5498d51220639c571ed88 (patch) | |
tree | 2de1169da5ebe4c61a3b0c98cb47fa11dbe3ff26 /layouts/_default | |
parent | e143b76386ff84d8d7b51c465043aeadfcae97bf (diff) | |
download | hugo-minimalist-theme-487e6410cb1b3d2dcfa5498d51220639c571ed88.tar.gz hugo-minimalist-theme-487e6410cb1b3d2dcfa5498d51220639c571ed88.tar.bz2 hugo-minimalist-theme-487e6410cb1b3d2dcfa5498d51220639c571ed88.zip |
Archive taxonomy
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/archive.terms.html | 21 |
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 }} |