Nikola 5.1 released.
I just uploaded version 5.1 of Nikola , my static blog/site generator. Details, changelog, etc, at Nikola's site
I just uploaded version 5.1 of Nikola , my static blog/site generator. Details, changelog, etc, at Nikola's site
Review:Not quite as good as the 1st one. |
There is some documentation about creating themes for Nikola, but maybe a tutorial is also a useful way to explain it. So, here it is. I'll explain how to create a theme (almost) from scratch. Alternatively, you can take an existing theme and modify only parts of it via inheritance, but that's for another document.
I will try to create a theme that looks like Vinicius Massuchetto's Monospace Theme.
I asked for feature requests for Nikola my static site generator. I got some. One was from long-time user Kay Hayen, so I just couldn't say no.
He asked for tag clouds. Look:
Cute, isn't it? And it's real, actual tag data from this very site. With links!
How it's done:
Nikola generates a JSON file that has the cloud data (tag name, size, link), and that's processed by JQuery and tagCanvas and ... well, it works.
You have to add jquery.tagcanvas.min.js
somewhere and embed a whole pile of raw HTML
(see here for details) but hey, it works.
Hope you are happy, Kay, you made me code javascript, dude ;-)
It's probably rather "easy" to make it use any of these instead of tagCanvas if anyone is so inclined.
This is nowhere near ready for release, but why not show it?
Nikola can now turn this:
.. slides:: /galleries/london-paris-2012/P1000198.JPG /galleries/london-paris-2012/2P1000235.JPG /galleries/london-paris-2012/3_P1000298.JPG
Into this (which will not look good in RSS):
Missing:
Customization
Support for slideshows that are not made of images
Styling
This is based on slidejs which seemed neat, but I am not 100% sure it's the way to go (it seems to look bad if the images are not all the same width, for example).