ikiwiki/doc/plugins/contrib/plusone.mdwn

36 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2011-07-02 18:37:05 +02:00
[[!template id=plugin name=plusone author="[[BerndZeimetz]]"]]
2011-07-02 18:04:40 +02:00
[[!toc]]
[[!tag plugins]] [[!tag patch]] [[!tag wishlist]]
## NAME
IkiWiki::Plugin::plusone - Adding the +1 button to your posts
## SYNOPSIS
# activate the plugin
add_plugins => [qw{goodstuff plusone ....}],
# set some options:
plusone_count => 1,
plusone_size => 'standard',
plusone_lang => 'en-US',
## DESCRIPTION
This plugin allows to add a google plusone button using the plusone directive
[[!plusone ]]
where ever you want the button to show up.
2011-07-02 18:37:05 +02:00
## plusone directive
The plusone directive allows to override the automativally generated url by specifying the wanted url as option:
[[!plusone url="http://bzed.de/"]]
2011-07-02 18:04:40 +02:00
## DOWNLOAD
2016-01-07 19:45:33 +01:00
* single file: [plusone.pm](https://git.bzed.at/raw/~bzed/ikiwiki.git/plusone/IkiWiki!Plugin!plusone.pm)
* browse repository: <https://git.bzed.at/blob/~bzed%2Fikiwiki.git/plusone/IkiWiki%2FPlugin%2Fplusone.pm>
* git repo: `git://git.recluse.de/users/bzed/ikiwiki.git` or <https://git.bzed.at/r/~bzed/ikiwiki.git> (Use the plusone branch)