Rebased onto a new branch.

master
Amitai Schlair 2013-08-10 04:53:23 -04:00
parent 1fe88b4afd
commit b56e6f0706
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
[[!template id=plugin name=wc author="[[schmonz]]"]]
[[!template id=gitbranch branch=schmonz/wc author="[[schmonz]]"]]
[[!template id=plugin name=wordcount author="[[schmonz]]"]]
[[!template id=gitbranch branch=schmonz/wordcount author="[[schmonz]]"]]
[[!tag type/meta]]
[[!tag patch]]
This plugin counts words in a page. For a single page, write a
`\[[!wc]]` directive and the word count will be interpolated there.
`\[[!wordcount]]` directive and the word count will be interpolated there.
For a site, add `<TMPL_VAR WORDCOUNT>` to your [[templates]].
If [[!cpan HTML::Strip]] is installed, the wordcount will be slightly