1
0
Fork 0
forked from github/pelican
Commit graph

337 commits

Author SHA1 Message Date
Alexis Metaireau
2f6300af46 Do not create a general function for "update_object_content". 2011-01-05 14:27:46 +01:00
Arnaud BOS
3ee595f927 Images support and add built files to gitignore 2011-01-05 13:32:54 +01:00
Alexander Artemenko
fd47a74b9e Template loading on demand get_templates was transformed into get_template. 2011-01-02 02:50:08 +03:00
Alexander Artemenko
b3256f0ecd Added tag cloud generation. Result stored in the context.tag_cloud as list of tuples (tag, weight). Weight is from 1 to TAG_CLOUD_STEPS, lesser weight corresponds to bigger font size. 2011-01-01 23:08:29 +03:00
Allan Whatmough
3c0649d89f Use JINJA_EXTENSIONS setting if available when creating the Environment object. 2010-12-27 23:27:40 +00:00
Alexander Artemenko
01b4c06916 Custom bicycle 'update_dict' was replaced with 'collections.defaultdict'. 2010-12-26 23:59:30 +03:00
Alexis Metaireau
7873370583 Merge branch 'master' of https://github.com/svetlyak40wt/pelican 2010-12-22 19:07:30 +00:00
Guillaume B
31cee95b6f Fixed the PDF generation
Signed-off-by: Guillaume B <guitreize@gmail.com>
2010-12-22 10:45:55 +08:00
Alexander Artemenko
c64ccc4fcd Added setting option RELATIVE_URLS to change default behaviour of file writer. 2010-12-22 03:19:35 +03:00
Alexander Artemenko
52459768f2 Fixed feed generator for translations. 2010-12-22 02:35:29 +03:00
Alexis Metaireau
8f59649eb6 Merge branch 'master' of https://github.com/svetlyak40wt/pelican
Conflicts:
	pelican/generators.py
2010-12-20 22:42:29 +00:00
Alexander Artemenko
1d74de2559 Added another option CLEAN_URLS, to use generated files with mod_rewrite and to show nice urls to the end user. 2010-12-21 00:21:29 +03:00
Alexander Artemenko
3afdb8fcff Articles translations are enabled. To use this feature, you need to
add a Lang meta into the each article and set DEFAULT_LANG setting
which is 'en' by default.

Than, only articles in the default language (or without variant in
default language) will be shown in the index of the blog. And each
Article will have translations list.

The same is applicable to the static Pages.

Also, separate feeds are generated for each language except default.
2010-12-20 22:02:27 +03:00
Freeculture
9e2e73d39c Fixed a mistake for tag feed generator 2010-12-18 20:42:15 +01:00
Freeculture
d61b108a0e Creation of tag feeds (atom & rss) 2010-12-17 09:25:19 +01:00
Alexis Metaireau
3e9b80e993 Fix #21: Add a setting for the archive order (REVERSE_ARCHIVE_ORDER) 2010-12-14 15:55:26 +00:00
Alexis Metaireau
5748a91ad7 Add PAGES to the context 2010-12-14 15:48:35 +00:00
Alexis Metaireau
f49c91070a Add a documentation about themes. 2010-12-05 19:15:02 +00:00
Alexis Metaireau
836d4ea117 Refactoring, Again :)
Added some more notes about how this is working on the documentation. I do think
that the overall structure is clearer now, and easiest to understand. After all,
that's how it should always be !

--HG--
rename : pelican/processors.py => pelican/generators.py
rename : pelican/generators.py => pelican/writers.py
2010-12-02 03:22:24 +00:00
Alexis Metaireau
3b7c546136 Fix #15: check for tags before using them in the feeds. 2010-12-01 18:45:44 +00:00
Philippe Pepiot
8fd1c50086 Support tags on feeds 2010-12-01 03:06:34 +01:00
Philippe Pepiot
a8ac5c6268 Support RSS2 feeds 2010-12-01 03:06:29 +01:00
Philippe Pepiot
7d11af5630 Dont use relative urls if SITEURL is set. Feeds needs absolutes urls 2010-12-01 03:06:21 +01:00
Alexis Metaireau
090a02a9e3 Change the output directory structure and a bit the templates structure as well.
--HG--
rename : pelican/themes/martyalchin/css/style.css => pelican/themes/martyalchin/static/css/style.css
rename : pelican/themes/notmyidea/css/main.css => pelican/themes/notmyidea/static/css/main.css
rename : pelican/themes/notmyidea/css/pygment.css => pelican/themes/notmyidea/static/css/pygment.css
rename : pelican/themes/notmyidea/css/reset.css => pelican/themes/notmyidea/static/css/reset.css
rename : pelican/themes/notmyidea/css/wide.css => pelican/themes/notmyidea/static/css/wide.css
rename : pelican/themes/notmyidea/images/icons/delicious.png => pelican/themes/notmyidea/static/images/icons/delicious.png
rename : pelican/themes/notmyidea/images/icons/lastfm.png => pelican/themes/notmyidea/static/images/icons/lastfm.png
rename : pelican/themes/notmyidea/images/icons/linkedin.png => pelican/themes/notmyidea/static/images/icons/linkedin.png
rename : pelican/themes/notmyidea/images/icons/rss.png => pelican/themes/notmyidea/static/images/icons/rss.png
rename : pelican/themes/notmyidea/images/icons/twitter.png => pelican/themes/notmyidea/static/images/icons/twitter.png
2010-11-21 01:49:37 +00:00
Alexis Metaireau
0e95084649 Use relative URLS instead of static ones. 2010-11-20 02:26:49 +00:00
Alexis Metaireau
56fb4828d8 Add some more comments. 2010-11-20 02:25:42 +00:00
Alexis Metaireau
9a51102f29 Dont remove the output folder if it's the source one ;) 2010-11-20 00:54:33 +00:00
Alexis Metaireau
8b5fbb95f3 Fix #1. Thanks solstice for reporting it. 2010-11-08 22:59:16 +00:00
Alexis Metaireau
35dc0bf34c Add a new theme "martyalchin", based on http://martyalchin.com 2010-11-08 01:26:45 +00:00
Alexis Metaireau
c989db50c9 Refactoring, again.
Separate Generator and Processors. Place clear for upcoming changes about pages
only websites powered by pelican !
2010-11-05 00:22:03 +00:00
Alexis Metaireau
c83d234773 Add the ability to read from markdown too. 2010-10-31 00:08:16 +01:00
Alexis Metaireau
340ddf4aa8 Add a way to output pages as well. 2010-10-30 20:17:23 +01:00
Alexis Metaireau
259eb1571d prettify output 2010-10-30 17:06:56 +01:00
Alexis Metaireau
97b9a1c6ed Remove unicode chars for output, as it breaks on some systems. 2010-10-30 17:04:15 +01:00
Alexis Metaireau
93fa87f5d3 Parse the metadatas before translating content to HTML 2010-10-30 01:34:47 +01:00
Alexis Metaireau
536245b006 Prettify output and fix copy of static files. 2010-10-30 01:26:58 +01:00
Alexis Metaireau
fdb920e50a Welcome Pelican 2.0 ! Refactoring of the internals to be more extensible.
--HG--
rename : pelican/bloggenerator.py => pelican/generators.py
2010-10-30 00:56:40 +01:00