Lektor plugin to add Creative Commons license to your pages
Project description
# Lektor Creative Commons
[![License: MIT](https://img.shields.io/pypi/l/lektor-creative-commons.svg)](https://github.com/humrochagf/lektor-creative-commons/blob/master/LICENSE) [![Current version at PyPI](https://img.shields.io/pypi/v/lektor-creative-commons.svg)](https://pypi.python.org/pypi/lektor-creative-commons) [![Downloads per month on PyPI](https://img.shields.io/pypi/dm/lektor-creative-commons.svg)](https://pypi.python.org/pypi/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 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
Hashes for lektor-creative-commons-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a085917a098a502f218e89bfb6d415af2e3ab9a5cd6ba80d44cbd705652c79a0 |
|
MD5 | b808c972b2da0e93725ed850964f7069 |
|
BLAKE2b-256 | 3c1ce90dda797e66eb1d3fce0396e37371a461f939c7210d74b3c59353a1b15d |
Hashes for lektor_creative_commons-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7e36461548362907b2af6f9075f0c4127798b6360931e25df923a268acd3f3a |
|
MD5 | 8342749e293a4e4ce566d68a4b06033f |
|
BLAKE2b-256 | 9bf7d59a338eca8702abd8babfba248a93d0579da0cb2177eb0a5517d981e0c8 |
Hashes for lektor_creative_commons-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85024e85ed357b4988936d136aaca79810d23cb50ac4f004b46876c585c324d4 |
|
MD5 | 8f3bcae622042e0b44c8ff16dd1b078a |
|
BLAKE2b-256 | dae13681d1fd63c7d9ac70c9840ac29ad0481a0d2a16ef02007214c77cc578ed |