Pelican Thumbnail Plugin is a plugin for pelican to select thumbnail from your post.
Now, its developing state…
Installation
This plugin is not registered on PyPI. You should clone this repository and install through pip:
git clone git@github.com:wutali/pelican_thumbnail.git cd pelican_thumbnail pip install -e .
Usage
If you insert thumbnail for YouTube, add youtube meta tag like this:
It is awesome! ============== :date: 2014-01-01 00:00 :slug: awesome-youtube :author: Me :youtube: teAqRZX4hbY
You can do same thing to Niconico Movie (its japanese movie service.):
It is great! ============== :date: 2014-01-01 00:00 :slug: great-niconico :author: Me :niconico: sm19220627
But Niconico movies original thumbnail is a little small…
Use the thumbnail attribute of article object when you use thumbnail on your theme:
<img src="{{ article.thumbnail }}" />
License
Pelican Thumbnail is released under the MIT License. http://www.opensource.org/licenses/mit-license
Release files for pelican_thumbnail 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pelican_thumbnail-0.2.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pelican_thumbnail-0.2-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 4.8 kB
Release files / pelican_thumbnail-0.2.tar.gz
| Download URL | pelican_thumbnail-0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c09b9487fd4c3879dce1dd06f46d6bd0fc7dccdfb7f07f7d504087d77718b46b
|
|
BLAKE2b-256 checksum How to use checksums |
ca21f9e0e1134b171fdc834ccb2cd92df5020fa70e3203c88f4808a1ea723f79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pelican_thumbnail-0.2-py2.7.egg
| Download URL | pelican_thumbnail-0.2-py2.7.egg |
|---|---|
| Size | 2.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f102b8dd914b0263dbf470dcecd17ae5b8a0a54d7950e8f92fa6aa5282825ca0
|
|
BLAKE2b-256 checksum How to use checksums |
92788e351fca4c7a91092c1c1f5dbea4e1d54eb64b78efe3ed4d9faed397955e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |