diff options
author | Simon McVittie <smcv@debian.org> | 2014-09-14 15:57:09 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-09-14 15:57:09 +0100 |
commit | e3e6ca2777990caf96e524f59e22925841c79e6e (patch) | |
tree | 597410a0d1abaa2321f61dbc7a7874fbf11c5130 /doc/ikiwiki | |
parent | 89492a62a76e1bf5f5a1d2b1d9ac82b042b7ec49 (diff) | |
download | ikiwiki-e3e6ca2777990caf96e524f59e22925841c79e6e.tar ikiwiki-e3e6ca2777990caf96e524f59e22925841c79e6e.tar.gz |
pagestats: rename disp to show, and document it
Diffstat (limited to 'doc/ikiwiki')
-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 8d2be0946..ab8397366 100644 --- a/doc/ikiwiki/directive/pagestats.mdwn +++ b/doc/ikiwiki/directive/pagestats.mdwn @@ -40,4 +40,10 @@ that name still works, if its value is numeric. The optional `class` parameter can be used to control the class of the generated tag cloud `div` or page stats `table`. +By default, the names of pages are shown. The `show` parameter +can be used (with a non-numeric value) to show the titles or descriptions +of pages instead (as set by the [[meta]] directive). For example: + + \[[!pagestats pages="tags/*" show="title"]] + [[!meta robots="noindex, follow"]] |