summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-14 10:49:30 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-14 10:49:30 -0300
commit40f8a10d92f4941847830472f0fcc0c7d9855019 (patch)
tree31ef1eb457e1c63ebbdc05f5b1a43976d2df77b0 /layouts
parent8fb76c15fea329135b610cabca1f29bc16d71e1d (diff)
Improved website with new index
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/artlist.html5
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>