Welcome to Nikola
Posted: 2012-03-30 23:00:00 |
If you can see this in a web browser, it means you have managed to install Nikola,
and build a site using it. Congratulations!
Sorry about the docs not existing at the moment, I will write them shortly.
Send feedback to email@example.com!
To create your own posts, you need to create two files insite posts/
This is some information about your post. It has to include (one on each line):
- Title (example: How to become rich)
- URL filename (example: how-to-become-rich)
- Publication date (example: 2012/03/13 02:17)
- Tags (example: programming, happiness, linux)
- Link to original source (example: http://boingboing.net/2012/01/14/boing-boing-will-go-dark-on-ja.html)
The 4th and 5th lines are optional.
- The contents of your post, written in Restructured Text
You can also add the same kind of things in stories/. The difference between posts and stories in the default configuration
is that posts will be added to RSS feeds and the front page of the site, while stories will generate pages that you
have to link to manually.
The templates are quite simple and are inside templates/
After you change things, run "doit" and that's it, an updated site in output/.
Before you publish this site anywhere, you should edit dodo.py (it has extensive comments) so it
says all the right things for your site. Upload to any server that can serve static files, and
you are done :-)
You will want to edit post.tmpl and delete the line that says disqus_developer.
Contents © 2012 Roberto Alsina