Skip to content

Commit 65ae72b

Browse files
committed
FEATURE: List posts by tag
1 parent 3010bd2 commit 65ae72b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Resources/Private/Fusion/Root.fusion

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ prototype(RobertLemke.Plugin.Blog:Category) < prototype(Neos.NodeTypes:Page) {
8383
}
8484
}
8585

86+
#
87+
# List posts in tag, including pagination
88+
#
89+
prototype(RobertLemke.Plugin.Blog:Tag) < prototype(Neos.NodeTypes:Page) {
90+
body.content.main = RobertLemke.Plugin.Blog:PostsOverview {
91+
postsNode >
92+
postNodes = ${q(site).find('[instanceof RobertLemke.Plugin.Blog:Post]').filterByReference('tags', documentNode).get()}
93+
}
94+
}
95+
8696
#
8797
# RSS feed
8898
#

0 commit comments

Comments
 (0)