a static gallery generator plugin for Pelican using Colorbox and Galleria
themes | ||
__init__.py | ||
album.py | ||
compat.py | ||
image.py | ||
LICENSE | ||
pkgmeta.py | ||
README.md | ||
siglican.py | ||
utils.py | ||
video.py | ||
writer.py |
siglican
A static gallery generator plugin for Pelican, based on the Sigal Colorbox/Galleria static site generator.
##How To
- Put the contents of this folder into your Pelican plugins directory. Add 'siglican' to PLUGINS in pelicanconf.py.
- Create a 'siglican' directory in your base directory, at the same level as 'content'. Drag 'colorbox' or 'galleria' from the 'themes' directory into this folder. Also create an 'images' subdirectory under 'siglican'.
- Create album and image metadata, as desired.
- Create theme directory inside of 'siglican'. Use the colorbox or galleria theme as a starting point. Make sure that your Pelican theme's base.html template has a 'head' block defined before </head>.
Example directory tree:
/site
/content/*
/plugins/siglican/*.py
/siglican
/images
/album1
/album2
/...
/[colorbox|galleria]
/static/*
/templates/album.html
To Do
- Update galleria theme to work.
- Change settings names to something other than SIGAL_*
- Unit tests.
- Logging cleanup.
- Update colorbox/galleria example themes to deal better with nested albums.
- General code and documentation cleanup.
##Credits
- The bulk of the code is ported from Sigal v0.8.0 by Simon Conseil.
- Pelican integration by Scott Boone (sawall@github).