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 make a list of related posts from your meta tags and settings.

Project Description

Installation

This plugin is not registered on PyPI. You should clone this repository and install through pip:

git clone git@github.com:wutali/pelican_related.git
cd pelican_related
pip install -e .

Configuration

Put this code on your pelicanconf.py and customize it:

RELATED_POSTS_MIN = 3 # Minimum number of posts to be shown.
RELATED_POSTS_LIMIT = 6 # Limit number of posts to be shown.
RELATED_POSTS_FROM_CATEGORY = True # Weight related posts based on category.
RELATED_POSTS_FROM_TAGS = True # Weight related posts based on tags.
RELATED_POSTS_SHUFFLE = True # Shuffle posts before show it.

# If number of related posts is not up to the minimum, add some articles based on this setting.
# You can choose the option from 'shuffle' or 'new'.
RELATED_POSTS_NOT_ENOUGH = 'shuffle'

License

Pelican Related is released under the MIT License. http://www.opensource.org/licenses/mit-license

Release History

Release History

This version
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_related-0.1-py2.7.egg (3.4 kB) Copy SHA256 Checksum SHA256 2.7 Egg Mar 8, 2014
pelican_related-0.1.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Mar 8, 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