diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-12-25 14:31:51 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-12-25 14:31:51 -0500 |
commit | 3a1c8c2b463b8a4f6b3b2c866c5e1b1500f95193 (patch) | |
tree | 2f517365da1620c6af25e76335036b9dfb35c78c /doc/ikiwiki/directive | |
parent | dbf0f25346a7eb0b63581639df3ac0c73753a0f0 (diff) | |
download | ikiwiki-3a1c8c2b463b8a4f6b3b2c866c5e1b1500f95193.tar ikiwiki-3a1c8c2b463b8a4f6b3b2c866c5e1b1500f95193.tar.gz |
pagestats: Add show parameter. Closes: #562129
Diffstat (limited to 'doc/ikiwiki/directive')
-rw-r--r-- | doc/ikiwiki/directive/pagestats.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/pagestats.mdwn b/doc/ikiwiki/directive/pagestats.mdwn index f14c80b07..68f4d2734 100644 --- a/doc/ikiwiki/directive/pagestats.mdwn +++ b/doc/ikiwiki/directive/pagestats.mdwn @@ -22,4 +22,10 @@ Or to display a cloud of tags related to Linux, you could use: \[[!pagestats pages="tags/* and not tags/linux" among="tagged(linux)"]] +The optional `show` parameter limits display to the specified number of +pages. For instance, to show a table of the top ten pages with the most +links: + + \[[!pagestats style="table" show="10"]] + [[!meta robots="noindex, follow"]] |