Files
HugoBlox-kit/exampleSite/content/home/posts.md
T
George Cushen fbcb7f2761 feat(widget): restrict post filter to only one tag or category
Close #815

BREAKING CHANGES

Remove `tags_include` and `tags_exclude` from `home/posts.md`
Add `filter_tag` and `filter_category` to `home/posts.md`
2018-12-16 00:48:51 +00:00

580 B

+++

Recent Posts widget.

This widget displays recent posts from content/post/.

widget = "posts" # Do not modify this line! active = true # Activate this widget? true/false weight = 40 # Order that this section will appear. date = 2016-04-20T00:00:00

title = "Recent Posts" subtitle = ""

Number of recent posts to list.

count = 5

List format.

0 = Simple

1 = Detailed

2 = Stream

list_format = 2

Filter posts by tag or category.

E.g. to only show posts tagged with Academic, set filter_tag = "Academic"

filter_tag = "" filter_category = "" +++