diff options
Diffstat (limited to 'layouts/shortcodes/article-list.html')
| -rw-r--r-- | layouts/shortcodes/article-list.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/shortcodes/article-list.html b/layouts/shortcodes/article-list.html new file mode 100644 index 0000000..755b229 --- /dev/null +++ b/layouts/shortcodes/article-list.html @@ -0,0 +1,6 @@ +<ul> + {{- range where .Site.RegularPages "Type" (.Get "category") | first 7 }} + <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> + {{- end }} + <li><i><a href="{{ .Get "category" }}">Plus...</a></i></li> +</ul> |
