mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Static site generator that supports Markdown and reST syntax. Powered by Python.
- Python 85.3%
- CSS 8.7%
- Jinja 6%
This attempts to fix several issues: 1. The regexp that's supposed to catch href's doesn't work at all and even if it did match anything, it has too many parentheses for the following loop. 2. When a relative URL is replaced then it is done globally on the text and not per instance. So this `<a href="/foo/bar">/foo/bar</a>` will incorrectly get reformatted to `<a href="./static/foo/bar">./static/foo/bar</a>`. 3. Query parameter URLs are rewritten but shouldn't: `<a href="?foo=bar">` gets rewritten to `<a href="./static/?foo=bar">` 4. The joiner is producing too many slashes: `"." + "static" + "/files/image.png"` => `./static//files/image.png`. |
||
|---|---|---|
| bin | ||
| docs | ||
| pelican | ||
| samples | ||
| tools | ||
| .gitignore | ||
| .hgignore | ||
| .hgtags | ||
| dev_requirements.txt | ||
| LICENSE | ||
| MANIFEST.in | ||
| README.rst | ||
| setup.py | ||
| THANKS | ||
| TODO | ||
Pelican ####### Pelican is a simple weblog generator, written in `Python <http://www.python.org/>`_. * Write your weblog entries directly with your editor of choice (vim!) and directly in `reStructuredText <http://docutils.sourceforge.net/rst.html>`_, or `Markdown <http://daringfireball.net/projects/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 ! Features -------- Pelican currently supports: * blog articles and pages * comments, via an external service (disqus). Please notice that while it's useful, it's an external service, and you'll not manage the comments by yourself. It could potentially eat your data. * theming support (themes are done using `jinja2 <http://jinjna.pocoo.org>`_) * PDF generation of the articles/pages (optional). * Translations * Syntactic recognition Have a look to `the documentation <http://alexis.notmyidea.org/pelican/>`_ for more informations. Why the name "Pelican" ? ------------------------ Heh, you didn't noticed? "Pelican" is an anagram for "Calepin" ;) Source code ----------- You can access the source code via git on http://github.com/ametaireau/pelican/ If you feel hackish, have a look to the `pelican's internals explanations <http://alexis.notmyidea.org/pelican/internals.html>`_. Feedback / Contact us ===================== 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! You can also join the team at `#pelican on irc.freenode.org <irc://irc.freenode.net/pelican>`_ (or if you don't have any IRC client, using `the webchat <http://webchat.freenode.net/?channels=pelican&uio=d4>`_) for quick feedback.