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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pelican_thumbnail-0.2-py2.7.egg (2.8 kB) Copy SHA256 hash SHA256 Egg 2.7
pelican_thumbnail-0.2.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page