Kraken
![]() |
|
![]() |
|
One of the requirements I had for Nikola my static site/blog generator, was that it should build image galleries. And that it should show the images sorted by date, and that it should be functional and nice.
Well, the nice part has been lacking for a long time. But I think I have a grasp on it now.
Here's before:
The Python Argentina group organizes lots of events. Like, half a dozen every year, or more. Those include multi-day events like PyCamp, larger conferences like PyCon, and several PyDays.
PyDays are special, they are usually single-track, just one day (obviously), free, and organized at universities, for students, and often by students. And one stumbling block is usually how to setup the web infrastructure for one. There is a web2py app created by Mariano Reingart, but I feel it's overkill. Also, setting up hosting, databases, customizations, etc. is a lot of work!
So, I decided, prodded by Juan Rodriguez Monti, to see how much can be done without setting up complex things. And I think it's quite a lot. Based on Nikola my static site generator, I created a template site for small events, like PyDays, called Nikola Event Kit
The goal is that you should be able to setup basic content, signup form, schedule, and the obvious needed things in one day. And then you can allocate another day or more for customizing the look of the site.
And then you are done, no need to deploy anything other than plain HTML.
If you want to test-drive it, here's a demo site and here is the code ready for you to fork into your own event's site.
Have fun!
I'm thrilled to announce version 5.5.1 of Nikola my static site/blog generator is out, with bugfixes and new features (including nice and easy charts) and you can get it from the usual places or from PyPI.
I can't sleep, so I just whipped together a docutils directive that wraps pygal for Nikola, my static site and blog generator.
So, how do you use it? LIke this:
.. chart:: Bar :title: 'Browser usage evolution (in %)' :x_labels: ["2002", "2003", "2004", "2005", "2006", "2007"] 'Firefox', [None, None, 0, 16.6, 25, 31] 'Chrome', [None, None, None, None, None, None] 'IE', [85.8, 84.6, 84.7, 74.5, 66, 58.6] 'Others', [14.2, 15.4, 15.3, 8.9, 9, 10.4]