summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-09-22 11:06:15 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2025-09-22 11:06:15 +0200
commitef7c8c820916556fc5bff26c6ad7d12ef1606423 (patch)
treee6dbc68e081d43c6675591e1748f489833c8c05d /layouts/shortcodes
parentc150f419a06e7bb006a4a71fa4e98faeb961037d (diff)
reworked the website
changed buttons, css, added first blog post
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/article-list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/article-list.html b/layouts/shortcodes/article-list.html
index 755b229..a870eac 100644
--- a/layouts/shortcodes/article-list.html
+++ b/layouts/shortcodes/article-list.html
@@ -1,6 +1,6 @@
<ul>
- {{- range where .Site.RegularPages "Type" (.Get "category") | first 7 }}
+ {{- range where .Site.RegularPages "Type" (.Get "category") | first (.Get "number") }}
<li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{- end }}
- <li><i><a href="{{ .Get "category" }}">Plus...</a></i></li>
+ <li><i><a href="{{ .Get "category" }}">See more...</a></i></li>
</ul>