a static gallery generator plugin for Pelican using Colorbox and Galleria
Find a file
2014-10-03 01:55:11 -05:00
themes removed google analytics default from sigal 2014-10-03 01:43:45 -05:00
__init__.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
album.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
compat.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -05:00
image.py initial commit - siglican 0.0.1a 2014-09-29 14:12:00 -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 added code block 2014-10-03 01:55:11 -05:00
siglican.py fixed bug with loading theme twice 2014-10-03 00:07:42 -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 cleanup 2014-10-03 01:41:09 -05:00

siglican

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

##How To

  1. Put the contents of 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'.

      /content/*
      /plugins/siglican
      /siglican
        /images
           /album1
           /album2
           /...
        /theme
    
  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>.

To Do

  1. Update galleria theme to work.
  2. Change settings names to something other than SIGAL_*
  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).