summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/article-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/article-list.html')
-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>