Lektor plugin to add Creative Commons license to your pages
Project description
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 a string 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>
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 Distributions
Close
Hashes for lektor-creative-commons-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395580875e9d3d16bc786e14e0570bd3905f11301d45462f403072d2f85c40e8 |
|
MD5 | 9bbbad4cb8fab224edfa7331c124ef6c |
|
BLAKE2b-256 | 78b473cb568811e0ba5cd6009f1260e553122d1fc37b8fe77947a4af13cd2213 |
Close
Hashes for lektor_creative_commons-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013473d76bb75ab69f2342e3b721cf905cfb8249f257eafdbdd8969a97795f16 |
|
MD5 | e14cc3a4888fee61aaba60776cde2471 |
|
BLAKE2b-256 | 7fadb8ac67d979d3a9d4c635626ace045ec1c861594be1801a124cfd29f3c979 |
Close
Hashes for lektor_creative_commons-0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f661bd1abddb1668f756a0ba48daa17277e6c2b4c98b8ad6c448b930d09167c |
|
MD5 | 07f89bc97a6b106a3d51fbb6c4fd9164 |
|
BLAKE2b-256 | 643cde836445460bfd679eca7d5f421ffbfbfb68348164f5ae49af0304e5e609 |