1 The `among` branch in my git repository refactors IkiWiki::Render a
2 bit, then uses this refactoring to add a [[ikiwiki/directive/pagestats]]
3 parameter `among` that will only count links from pages that match a
4 given [[ikiwiki/PageSpec]]. From its documentation:
6 > The optional `among` parameter limits counting to pages that match a
7 > [[ikiwiki/PageSpec]]. For instance, to display a cloud of tags used on blog
8 > entries, you could use:
10 > \[[!pagestats pages="tags/*" among="blog/posts/*"]]
12 > or to display a cloud of tags related to Linux, you could use:
14 > \[[!pagestats pages="tags/* and not tags/linux" among="tagged(linux)"]]
16 Suggestions for a better parameter name are welcome. --[[smcv]]