a static gallery generator plugin for Pelican using Colorbox and Galleria
Find a file
2014-10-03 02:10:57 -05:00
themes grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
__init__.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
album.py grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
compat.py grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
image.py grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
LICENSE initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
pkgmeta.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
README.md grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
siglican.py grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00
utils.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
video.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
writer.py grand SIGAL_ => SIGLICAN_ transmogrification 2014-10-03 02:10:57 -05:00

siglican

A static gallery generator plugin for Pelican, based on the Sigal Colorbox/Galleria static site generator.

##How To

  1. Put this folder into your Pelican plugins directory. Add 'siglican' to PLUGINS in pelicanconf.py.
  2. 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'.
  3. Create album and image metadata, as desired.
  4. 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

##Pelican settings

To Do

  1. Update galleria theme to work.
  2. Change settings names to something other than SIGLICAN_*
  3. Unit tests.
  4. Logging cleanup.
  5. Update colorbox/galleria example themes to deal better with nested albums.
  6. 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).