Skip to content

Pelican plugin to show randomly selected text lines from a configured file.

Notifications You must be signed in to change notification settings

lgaggini/random_quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Random Quote

A simple pelican plugin used to populate a variable {{ QUOTE }} selecting randomly lines from a text file at every generation of the pelican output. Useful to show variable quotes and fortunes.

Usage

Put in your pelicanconf.py the variable RANDOM_QUOTE configured pointing to a text file with a line for every quote and put in your template the variable {{ QUOTE }} where you want to show the line selected.

About

Pelican plugin to show randomly selected text lines from a configured file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages