Borgar
cd277672d0
Add a setting to limit feeds to a max number of items.
...
This adds FEED_MAX_ITEMS, which dictates the maximum number of items allowed in a feed.
2011-08-02 23:29:34 +00:00
mviera
a13ae91f0b
Adding more documentation about ARTICLE_PERMALINK_STRUCTURE in settings. Also, i deleted the try except because strftime never raises an exception. Issue #145
...
I set the ARTICLE_PERMALINK_STRUCTURE option as null in settings.py and remove it from pelican sample config file.
2011-07-29 22:09:09 +02:00
mviera
2609004719
I change PERMALINK_STRUCTURE to ARTICLE_PERMALINK_STRUCTURE and updating the settings.rst documentation.
...
Also I have implemented other options to this setting, such as the category, the date, the author, this kind of things.
Finally, I have setted the ARTICLE_PERMALINK_STRUCTURE option as null in pelican.conf.py sample file.
2011-07-29 01:11:35 +02:00
mviera
068a3d2f1d
Year and month in URL. Issue #145
2011-07-27 23:47:50 +02:00
Mario Rodas
dc6934be43
all test pass
2011-07-02 15:15:21 -05:00
derdon
1288676302
check the actual value in the settings
2011-06-13 01:34:36 +02:00
derdon
ac0b1a6f82
check only paths (i.e. not None) for being absolute when reading the settings
2011-06-13 01:25:29 +02:00
Alexis Metaireau
515e02bcc6
Add the OUTPUT_PATH as a relative path.
2011-06-12 22:31:26 +02:00
Rory McCann
fee2b50cb9
If the PATH settings is set to a non-absolute path, then use normalize it relative to the settings file. This should probably be done for other settings aswell
2011-06-12 18:52:42 +01:00
Alexis Metaireau
1c6ea5aab2
Fix locale setup in settings.py
2011-05-31 12:44:40 +02:00
Alexis Metaireau
44c1fe4840
Definitely a bad day for commits. Thanks kmike for reviewing
2011-05-19 18:10:21 +01:00
Alexis Metaireau
f759491279
Oops. This is it. See #115 .
2011-05-19 18:00:17 +01:00
Alexis Metaireau
5277b9dc16
Add the possibility to specify a list of alternatives for locales. Fixes #115
2011-05-19 17:28:45 +01:00
Alexis Metaireau
371892ceaa
Merge branch tests into main. (See #44 )
...
Conflicts:
pelican/contents.py
pelican/settings.py
samples/pelican.conf.py
2011-05-10 23:18:11 +01:00
Alexis Metaireau
6b44d93780
Add the possibility to publish drafts. Fixes #111
2011-05-08 14:58:57 +01:00
Alexis Metaireau
04da794b6b
Add a feature to copy files from src to dest.
...
Fixes #86
2011-05-07 22:47:30 +01:00
Alexis Metaireau
56effc24cb
Add a DEFAULT_METADATA setting.
...
It is now possible to have soem default metadata defined in the settings. Fixes #98
2011-05-07 19:56:55 +01:00
Alexis Metaireau
e09444fa89
Don't delete the output dir as a default behaviour.
...
Fixes #107
2011-05-07 19:27:33 +01:00
Alexander Artemenko
138e19fa19
Merge branch 'master' of git://github.com/ametaireau/pelican
...
Conflicts:
docs/settings.rst
pelican/generators.py
pelican/settings.py
2011-03-23 10:25:38 +03:00
Alexis Metaireau
fabc1f346e
Do not activate the pagination by default
2011-02-18 12:36:53 +00:00
Laureline Guerin
4111acd1c1
Pagination added for index and tag/category pages
2011-02-14 16:24:54 +01:00
Alexis Metaireau
06246d1aa4
Fix #65 . Unicode, grr. Thanks Bruno Bord.
2011-02-01 22:50:18 +00:00
Alexis Metaireau
d13e6f14fb
Changes about locales and dates.
...
Add a way to specify the locale in the settings, and the date formating as well.
Fixes #61 .
2011-02-01 21:44:50 +00:00
Alexis Metaireau
d0ec18f4db
Add the ability to sort categories.
...
generator.categories is now a list of (category, articles) instead of a dict. This
is to avoid using ordered dicts that have been introduces in python 2.7, so we stay
as much as possible compatible with older versions.
This fixes #62 . Thanks to Bruno for the report.
2011-02-01 01:57:39 +00:00
Alexis Metaireau
8454b0d1b8
Tests for settings.
2011-01-13 00:46:10 +01:00
Alexis Metaireau
2f915caff2
branch merge
...
Conflicts:
pelican/generators.py
pelican/settings.py
2011-01-05 18:25:14 +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
164c703861
Add a default for JINJA_EXTENSIONS (default is no extensions)
2010-12-29 13:21:21 +00:00
Alexander Artemenko
a937424faa
Base routines were transformed into the class Pelican. This class could be overridden using PELICAN_CLASS option.
2010-12-25 17:26:24 +03:00
Alexander Artemenko
c64ccc4fcd
Added setting option RELATIVE_URLS to change default behaviour of file writer.
2010-12-22 03:19:35 +03:00
Alexis Metaireau
750e211649
Update the documentations and fix some little things about the translation feature.
2010-12-20 22:50:54 +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
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
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
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
bab39c9800
Add a "wide" css for notmyidea.org theme
2010-11-18 03:33:57 +00:00
Alexis Metaireau
4c85555d33
... and add a way to deactivate it.
2010-11-12 02:18:19 +00:00
Alexis Metaireau
29395965b6
Fallback to default category if no category is detected (for articles)
2010-11-07 14:35:10 +00:00
Alexis Metaireau
efc6bb7aa4
Add a settings for PDF generation.
2010-11-06 02:25:47 +00:00
Alexis Metaireau
f7cbef6393
Add static pages listing and options.
2010-11-05 02:05:00 +00:00
Alexis Metaireau
c83d234773
Add the ability to read from markdown too.
2010-10-31 00:08:16 +01:00
Alexis Metaireau
41a5f390fb
Put the notmyidea theme by default.
...
--HG--
rename : samples/themes/notmyidea/css/main.css => pelican/themes/notmyidea/css/main.css
rename : samples/themes/notmyidea/css/pygment.css => pelican/themes/notmyidea/css/pygment.css
rename : samples/themes/notmyidea/css/reset.css => pelican/themes/notmyidea/css/reset.css
rename : samples/themes/notmyidea/images/icons/delicious.png => pelican/themes/notmyidea/images/icons/delicious.png
rename : samples/themes/notmyidea/images/icons/lastfm.png => pelican/themes/notmyidea/images/icons/lastfm.png
rename : samples/themes/notmyidea/images/icons/rss.png => pelican/themes/notmyidea/images/icons/rss.png
rename : samples/themes/notmyidea/images/icons/twitter.png => pelican/themes/notmyidea/images/icons/twitter.png
rename : samples/themes/notmyidea/templates/archives.html => pelican/themes/notmyidea/templates/archives.html
rename : samples/themes/notmyidea/templates/article.html => pelican/themes/notmyidea/templates/article.html
rename : samples/themes/notmyidea/templates/base.html => pelican/themes/notmyidea/templates/base.html
rename : samples/themes/notmyidea/templates/categories.html => pelican/themes/notmyidea/templates/categories.html
rename : samples/themes/notmyidea/templates/category.html => pelican/themes/notmyidea/templates/category.html
rename : samples/themes/notmyidea/templates/index.html => pelican/themes/notmyidea/templates/index.html
rename : samples/themes/notmyidea/templates/tag.html => pelican/themes/notmyidea/templates/tag.html
rename : samples/themes/notmyidea/templates/tags.html => pelican/themes/notmyidea/templates/tags.html
rename : pelican/themes/templates/archives.html => pelican/themes/simple/templates/archives.html
rename : pelican/themes/templates/article.html => pelican/themes/simple/templates/article.html
rename : pelican/themes/templates/base.html => pelican/themes/simple/templates/base.html
rename : pelican/themes/templates/categories.html => pelican/themes/simple/templates/categories.html
rename : pelican/themes/templates/category.html => pelican/themes/simple/templates/category.html
rename : pelican/themes/templates/index.html => pelican/themes/simple/templates/index.html
rename : pelican/themes/templates/tag.html => pelican/themes/simple/templates/tag.html
rename : pelican/themes/templates/tags.html => pelican/themes/simple/templates/tags.html
2010-10-30 16:47:59 +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