Skip to content

jhshi/pelican.plugins.post_revision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Post Revision

This Pelican plugin extracts the post's revision history from Git, and offer several article and page attributes. Please see more details and a working example here.

Settings

  • GITHUB_URL: the Github URL where the page source repository is hosted. For example: https://github.com/jhshi/blog_source
  • PROJECT_ROOT: Root directory of the Pelican project. You should set this to os.path.dirname(os.path.abspath(__file__)). I don't know if Pelican offers this already in some meta data, so let me know if that's the case and this settings is not necessary.

About

A Pelican plugin that shows post revision history from Git commits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages