Commit graph

324 commits

Author SHA1 Message Date
Justin Mayer
65b93dbfd4 Remove trailing slash from SITEURL if present 2012-03-23 07:16:23 -07:00
Justin Mayer
6e467172e5 Merge branch 'master' into feeddomain
Conflicts:
	pelican/settings.py
	tests/test_settings.py
2012-03-22 08:29:27 -07:00
Bruno Binet
4fe67b8947 Merge remote-tracking branch 'ametaireau/plugins' into plugins
Conflicts:
	docs/settings.rst
	pelican/__init__.py
	pelican/generators.py
	pelican/settings.py
	setup.py
2012-03-20 01:07:25 +01:00
Martin Brochhaus
a9f5fdc47b Always using normal capitalization in headlines. 2012-03-18 14:57:53 +08:00
Justin Mayer
8819d02600 Allow for serving feeds from a separate domain.
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177.
2012-03-16 20:27:26 -07:00
Dana Woodman
99852ebda8 MD_EXTENSIONS should be a list not a tuple. 2012-03-15 11:59:58 -07:00
Andrea Crotti
10fc8a733d fix warnings and errors from settings.rst 2012-03-15 00:17:01 +00:00
Alexis Metaireau
78091bfa80 Merge pull request #238 from draftcode/feed_issue
Do not create feeds when their filenames are set to None.
2012-03-11 01:46:58 -08:00
Alexis Metaireau
189da25c5b Merge branch 'master' of github.com:ametaireau/pelican 2012-03-11 02:50:37 +01:00
Alexis Metaireau
d43bd1dcb8 Add a way to use Typogrify to enhance the generated HTML. 2012-03-11 02:48:36 +01:00
Bruno Binet
aef7418bdf add docs for new page/article paths settings 2012-03-11 01:22:22 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00
Kyle Fuller
44cf2ad400 Support configurable URL's & SAVE_AS path for Author, Category and Tag 2012-03-06 16:41:35 +00:00
Kyle Fuller
a39787c1a2 Add settings to change the URL's and SAVE_AS paths
Example usage:

* ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/'
* ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html'

This removes CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE because these
new settings can produce the same result.
2012-03-06 16:41:35 +00:00
Justin Mayer
bde06c4011 Improve English documentation with enhanced clarity, grammar, and spelling 2012-03-06 06:13:17 -08:00
Jiachen Yang
3ccbe19c8a typo in docs/settings.rst#date format and locales 2012-02-28 03:37:58 +09:00
Jiachen Yang
76ee6c2149 Added document and test case for #215 2012-02-28 03:08:39 +09:00
Martin Brochhaus
1ceb2745b1 Added missing documentation for MENUITEMS setting. 2012-02-20 13:18:18 +01:00
Tobias
1f4bb6a2e4 DOC: fixed typo in 'CLEAN_URLS'
was singular in docs but only works as plural
2012-02-12 18:25:51 +01:00
Alexis Metaireau
9543ce049f update the documentation to make timezone configuration clearer 2011-12-29 16:04:46 +01:00
Kyle Fuller
2be58aa51a Remove WITH_PAGINATION, only have a DEFAULT_PAGINATION setting
DEFAULT_PAGINATION can be set to False instead of using WITH_PAGINATION
2011-12-22 14:02:31 +00:00
Alexis Metaireau
fb9a622ca7 add CLEAN_URLS to the documentation 2011-11-27 18:08:28 +01:00
Alexis Metaireau
96b52a2283 issue a warning in case no timezone is defined 2011-08-18 13:58:04 +02:00
Alexis Metaireau
720b8d3168 doc: update the settings page about latest changes 2011-08-18 13:47:31 +02:00
Alexis Metaireau
bee3140fc6 doc: reorder settings 2011-08-18 13:35:53 +02:00
Alexis Metaireau
4a6bf81b2e remove skribit support. fixes #154 2011-08-11 23:50:04 +02:00
Alexis Metaireau
1edbe044a2 Include the "pelican-quickstart" script.
This ease the creation of a new blog. I modified slightly the code wrote by @Skami18
here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04

This commit also renames the import script to "pelican-import".

Fixes #129.
2011-08-11 23:34:53 +02:00
Borgar
a5f47cfae9 Allow overriding reader extensions.
This adds an extensions setting all readers in the style of [ext]_EXTENSIONS. So for the MarkdownReader, who's extension is "md", the setting read is MD_EXTENSIONS.

The settings allow overriding the default options passed through the readers. In the case of Markdown the default values are ['codehilite','extra'], but user may change this through the setting:

MD_EXTENSIONS = ['footnotes','abbr','codehilite']
2011-08-07 23:05:58 +00:00
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
Alexis Metaireau
fc2843306f Add a settings.py sample into the documentation.
Fixes #118
2011-07-22 02:11:18 +02:00
Borgar
53e25ce2cf Fixed typo in docs: missing plural s in RELATIVE_URLS. 2011-06-29 13:42:12 +00:00
Alexis Metaireau
28c0644eb6 Plugins doc + minor design changes. 2011-06-18 01:03:53 +02:00
Jochen Breuer
94b15b5260 Added template, inlcude in base and some documentation for Piwik. 2011-06-13 07:30:33 +02:00
Skami18
a7baab6a97 Added the manual for pelican-themes 2011-05-22 18:57:02 +02: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
278038ee87 Add information about TAG_FEED. Fixes #117 2011-05-11 11:10:14 +01:00
Alexis Metaireau
aab3ee78dc Split the settings into different sections.
Fixes #112
2011-05-08 16:15:43 +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
Alexis Metaireau
62c08f66fb Merge branch 'master' of github.com:ametaireau/pelican 2011-04-26 00:34:38 +01:00
derdon
6b10d86407 move a default value to the table cell it belongs to 2011-04-26 00:39:31 +02:00
Alexis Metaireau
36cc74b224 Little doc fix 2011-04-25 23:33:13 +01:00
derdon
e9364df4ed removed a confusing question mark 2011-04-25 00:40:42 +02:00
derdon
6f89ffec83 removed a useless comma 2011-04-25 00:39:21 +02:00
derdon
9e05b1fd51 various grammar fixes 2011-04-25 00:38:15 +02:00
derdon
b602e3799d fixed the writings of two variable names in the settings table 2011-04-25 00:36:15 +02:00