diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/artlist.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/artlist.html b/layouts/shortcodes/artlist.html new file mode 100644 index 0000000..6dbb09c --- /dev/null +++ b/layouts/shortcodes/artlist.html @@ -0,0 +1,5 @@ +<ul id=artlist> +{{ range first 5 (where .Site.RegularPages "Section" "posts") }} + <li><span class="artlist-date">{{ dateFormat "02 Jan 2006" .Date }}</span> – <a href="{{.Permalink}}">{{.Title}}<span style="display:none">{{.Params.Tags}}</span></a></li> +{{end}} +</ul> |