Skip to content

Pelican plugin to include file content within pelican page

License

Notifications You must be signed in to change notification settings

toni-heittola/pelican-include

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican-include - Fetching file content

pelican-include is an open source Pelican plugin to fetch file content and include it within the content page.

Author

Toni Heittola (toni.heittola@gmail.com), GitHub, Home page

Installation instructions

Pelican installation

Make sure the directory where the plugin was installed is set in pelicanconf.py. For example if you installed in plugins/pelican-include, add:

PLUGIN_PATHS = ['plugins']

Enable pelican-include:

PLUGINS = ['pelican-include']

Usage

File content is injected to {include::} tags within the content.

Example:

File content:
 <pre>{include::content/data/data.yaml}</pre>

About

Pelican plugin to include file content within pelican page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages