Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pelican_thumbnail-0.2-py2.7.egg (2.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Mar 18, 2014
pelican_thumbnail-0.2.tar.gz (2.0 kB) Copy SHA256 Checksum SHA256 Source Mar 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting