Lektor plugin to add Creative Commons license to your pages
Project description
Lektor Creative Commons
Lektor plugin to add Creative Commons license to your pages
Usage
On your templates use:
<div class="license">{{ render_cc_license(type, size) }}</div>
type
is astring
with the license type (e.g.:'by'
,'by-sa'
,'by-nc-sa'
).size
is an opitional parameter with the size'normal'
or'compact'
. Default is'normal'
Example
<div class="license">{{ render_cc_license('by-sa') }}</div>
Internationalization support
This plugin has support to internationalization, and changes it language based on .lektorproject
file.
The Current supported locales are:
- en
- pt_BR
Any other locale will default to en
(english).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for lektor-creative-commons-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b672204868f61cac8290197e70b526db1695974c9358223afb11231a9c72c75 |
|
MD5 | d3b64438aa919e248a9427a97437c406 |
|
BLAKE2b-256 | 12bb00f0689c0091ccaff4a48e4e4bac504b406ef9be6af5154d8a682c66f9af |
Close
Hashes for lektor_creative_commons-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68167298d7f5ee4a0497e10277e1450a8b707181ad3db8e9145ca006992c2de0 |
|
MD5 | 28dba130c295ac715638699f58fbf05f |
|
BLAKE2b-256 | 73b7c83d4618e7a1916c304ed4514b07ce0e013a529426a693ca73fe857bd002 |