Commit graph

96 commits

Author SHA1 Message Date
Alexander Artemenko
a45f705bda Typo was fixed. 2010-12-21 00:22:15 +03: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
Alexander Artemenko
bc5a19a37b Slugify is broken for non-ascii titles. Now slug could be redefined, using the metadata. 2010-12-17 00:32:12 +03:00
Alexander Artemenko
658e1203b2 Simplier metadata processing, using dict's 'get' method with default value. 2010-12-17 00:07:55 +03:00
Alexander Artemenko
a322d6c4e8 Lowercase meta field's name before looking the processor. 2010-12-17 00:04:45 +03:00
Florian Preinstorfer
62bd20a844 fixed a ValueError with -k option 2010-12-15 15:56:38 +01:00
Alexis Metaireau
3c8cafdc0d Make the long option a bit more verbose for --keep-output-directory 2010-12-15 12:45:21 +00:00
Florian Preinstorfer
1d2af7aa01 added a keep commandline switch (-k, --keep)
-keep output directory if keep commandline switch is provided
-added KEEP_OUTPUT_DIRECTORY to settings (default is to delete output
directory before processing)
-updated documentation
2010-12-15 09:27:51 +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
dd97b35029 Add the tag list to the articles, if any. 2010-12-14 15:05:43 +00:00
Alexis Metaireau
7c82f5e037 2.5.1 2010-12-13 22:46:53 +00:00
Florian Preinstorfer
bdbba6bc68 fixed generation of archive.html (template simple)
-just one loop needed
-same date format as in index.html (template simple)
2010-12-10 20:28:45 +01:00
Florian Preinstorfer
497b725dab fixed a spelling error 2010-12-10 19:37:32 +01:00
Alexis Metaireau
0c0c6af2dd Merge with freeculture 2010-12-06 14:17:06 +00:00
Freeculture
8cca3d8f01 Original theme force image alignment on the right. Removed it to choose it with a markup langage. 2010-12-06 06:09:19 -08:00
Alexis Metaireau
f49c91070a Add a documentation about themes. 2010-12-05 19:15:02 +00:00
Freeculture
9bdb5b8a88 A large image causes problem in article excerpt. It comes on following excerpt area. I think the best thing to do is to disable display of images in excerpt. 2010-12-03 09:28:40 -08: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
dd202744d0 Oops. Make a copy of the list before modifying it ! 2010-11-27 15:20:38 +00:00
Alexis Metaireau
5fda51de42 Fix #12 2010-11-26 23:37:03 +00:00
Philippe Pepiot
a3f0ded146 Missing import in processors 2010-11-24 15:58:58 +01:00
Philippe Pepiot
d489000c65 Add syntax highlight support for markdown posts 2010-11-24 15:49:10 +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
4702dd896b Add section open and close in the notmyidea theme. 2010-11-20 18:47:40 +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
01b6d8eb44 Update the wide theme. 2010-11-19 02:13:38 +00:00
Alexis Metaireau
5b1dd2f3f1 CSS Fix. Don't hilight titles links. 2010-11-18 03:37:38 +00:00
Alexis Metaireau
bab39c9800 Add a "wide" css for notmyidea.org theme 2010-11-18 03:33:57 +00:00
Alexis Metaireau
6589e122d8 merge with jeromer 2010-11-17 11:42:40 +00:00
Jerome
cdd1719334 - Added configurable twitter button
Just add a TWITTER_USERNAME='foo' in your settings file
2010-11-17 08:24:20 +01:00
Alexis Metaireau
d5efe6b567 Merge branch 'master' of https://github.com/jeromer/pelican 2010-11-15 22:26:18 +00:00
Jerome
caacf48848 - Added configurable Google analytics template
(GOOGLE_ANALYTICS='UA-XXXX-YYYY' in your settings file)
2010-11-16 04:01:39 +08:00
Alexis Metaireau
32102dae12 Fix a FAQ mistake. 2010-11-15 18:58:54 +00:00
Jerome
5a3c58f55e - Added configurable Google analytics template
(GOOGLE_ANALYTICS='UA-XXXX-YYYY' in your settings file)
2010-11-15 16:47:44 +01:00
Jerome
8de5e7b3a8 - Added linkedin support 2010-11-15 16:33:47 +01:00
Alexis Metaireau
4c85555d33 ... and add a way to deactivate it. 2010-11-12 02:18:19 +00:00
Alexis Metaireau
7dc847f5b2 Get informations about dates from the filesystem if no other way of getting it is working. 2010-11-12 02:14:20 +00:00
Guillaume B
c8184ffcbc Pass the metadata conversion in Markdown as well,
so that dates and tags are correctly processed.

Signed-off-by: Guillaume B <guitreize@gmail.com>
2010-11-11 08:00:08 +08:00
Alexis Metaireau
59a8bf024e Add the page.html template to the "simple" theme. Fix #2. 2010-11-08 23:04:00 +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
b391defeb6 Fix a bug with the optional dependency to rst2pdf. 2010-11-08 00:15:34 +00:00