Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

jmaister/readtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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