A tool to generate a static blog, with restructured text (or markdown) input files.
Project description
Pelican is a simple weblog generator, writen in python.
Write your weblog entries directly with your editor of choice (vim!) and directly in restructured text, or markdown.
A simple cli-tool to (re)generate the weblog.
Easy to interface with DVCSes and web hooks
Completely static output, so easy to host anywhere !
Files metadatas
Pelican tries to be smart enough to get the informations he needs from the filesystem (for instance, about the category of your articles), but you need to provide by hand some of those informations in your files.
You could provide the metadata in the restructured text files, using the following syntax:
My super title ############## :date: 2010-10-03 10:20 :tags: thats, awesome :category: yeah :author: Alexis Metaireau
You can also use a mardown syntax:
Date: 2010-12-03 Title: My super title Put you content here.
Note that only the date metadata is mandatory, so you just have to add that in i your files. The category can also be determined by the directory where the rst file is. For instance, the category of python/foobar/myfoobar.rst is foobar.
Getting started — Generate your blog
Yeah? You’re ready? Let’s go ! You can install pelican in a lot of different ways, the simpler one is via pip:
$ pip install pelican
Then, you have just to launch pelican, like this:
$ pelican /path/to/your/content/
And… that’s all! You can see your weblog generated on the content/ folder.
This one will just generate a simple output, with the default theme. It’s not really sexy, as it’s a simple HTML output (without any style).
You can create your own style if you want, have a look to the help to see all the options you can use:
$ pelican --help
Why the name “Pelican” ?
Heh, you didnt noticed? “Pelican” is an anagram for “Calepin” ;)
Source code
You can access the source code via mercurial at http://hg.notmyidea.org/pelican/ or via git on http://github.com/ametaireau/pelican/
Feedback !
If you want to see new features in Pelican, dont hesitate to tell me, to clone the repository, etc. That’s open source, dude!
Contact me at “alexis at notmyidea dot org” for any request/feedback !
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pelican-2.4.tar.gz
.
File metadata
- Download URL: pelican-2.4.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2994e6d167f2cfcde1edf688e965d97848dc79f61ecb579add4caefdccbda9a |
|
MD5 | 4fc3eadfa01a2773169fc41c14463186 |
|
BLAKE2b-256 | 2b7d11e6de2b6bd218b9ddca13a97e1892e977269ba65778b53c79bf410d10d4 |
File details
Details for the file pelican-2.4-py2.py3-none-any.whl
.
File metadata
- Download URL: pelican-2.4-py2.py3-none-any.whl
- Upload date:
- Size: 59.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c26795bee28d449ab17ddb5c4a673427b662fb6c22aba928908bfd8aaf70e7e5 |
|
MD5 | 8aa5a6f90739026da3cc59d8f0923869 |
|
BLAKE2b-256 | f6ade8eb844c72a2e032ebec30d6ca5e02900ef6fa69b1c1f20ad190b467319c |