Skip to content
This repository has been archived by the owner. It is now read-only.

jmaister/readtime

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

readtime - Plugin For Pelican

This plugin adds a variable to the context of Pelican with an stimation of minutes for reading the article.

Usage

To use it you have to add the plugin name to the pelicanconf.py file.

PLUGINS=[ ... , 'readtime']

Then you can access the minutes variable to show on your article.html template.

{% if article.readtime %}
<div><b>Read in {{article.readtime.minutes}} min.</b></div>
{% endif %}

About

Pelican plugin for adding read time minutes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages