diff options
Diffstat (limited to 'layouts/shortcodes/article-list.html')
| -rw-r--r-- | layouts/shortcodes/article-list.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/article-list.html b/layouts/shortcodes/article-list.html index 338643c..090d654 100644 --- a/layouts/shortcodes/article-list.html +++ b/layouts/shortcodes/article-list.html @@ -1,3 +1,6 @@ +<h2> + {{ .Get "category" | title }} +</h2> <ul> {{- range where .Site.RegularPages "Type" (.Get "category") | first (.Get "number") }} <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> |
