Skip to main content

A Pelican plugin to add a thumbnail for the article.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pelican_thumbnail-0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pelican_thumbnail-0.2-py2.7.egg (2.8 kB view details)

Uploaded Egg

File details

Details for the file pelican_thumbnail-0.2.tar.gz.

File metadata

File hashes

Hashes for pelican_thumbnail-0.2.tar.gz
Algorithm Hash digest
SHA256 c09b9487fd4c3879dce1dd06f46d6bd0fc7dccdfb7f07f7d504087d77718b46b
MD5 724fd94811b7c580e39288f6f6a90b57
BLAKE2b-256 ca21f9e0e1134b171fdc834ccb2cd92df5020fa70e3203c88f4808a1ea723f79

See more details on using hashes here.

File details

Details for the file pelican_thumbnail-0.2-py2.7.egg.

File metadata

File hashes

Hashes for pelican_thumbnail-0.2-py2.7.egg
Algorithm Hash digest
SHA256 f102b8dd914b0263dbf470dcecd17ae5b8a0a54d7950e8f92fa6aa5282825ca0
MD5 85296861e53bd92f49a20576c2a8e694
BLAKE2b-256 92788e351fca4c7a91092c1c1f5dbea4e1d54eb64b78efe3ed4d9faed397955e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page