Hi.
I’m currently trying to use the post widget for a different menu directory. I currently have the content/home/post.md
file, which looks at recent I’ve created. Now I’ve created a menu with the following dropdown selection.
[[main]]
name = "Home"
url = "#about"
weight = 10
[[main]]
name = "Posts"
url = "#posts"
identifier = "dropdown"
weight = 20
hasChildren = true
[[main]]
name = "Finance"
url = "/Finance"
weight = 20
parent = "dropdown"
[[main]]
name = "Economics"
url = "/Economics/"
weight = 20
parent = "dropdown"
[[main]]
name = "Data Science"
url = "/Data Science/"
weight = 20
parent = "dropdown"
[[main]]
name = "Machine Learning"
url = "/Machine Learning"
weight = 20
parent = "dropdown"
[[main]]
name = "Programming"
url = "/Programming/"
weight = 20
parent = "dropdown"
I’ve created a new post widget called finance.md, which my dropdown menu links to. I was hoping to have the finance.md show only posts in the finance category by changing the filter option in the widget, but that was unsuccessful. I was wondering what I was missing, what I’m doing wrong, or if I’m on the right track. I’ve looked at the documentation, but I couldn’t really find anything related to what I’m trying to do.
Thanks in advance.