1
0
Fork 0
forked from github/pelican
Commit graph

368 commits

Author SHA1 Message Date
draftcode
2827a6df47 Fixed some typos. 2012-03-12 01:22:54 +09:00
Alexis Metaireau
c393b011c4 cleaning 2012-03-11 15:50:53 +01: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
cfd050b0f2 Add a CSS file for typogrify on the notmyidea theme 2012-03-11 03:02:12 +01: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
Alexis Metaireau
d6be2fb44c Put deprecation code in a separate place 2012-03-11 01:59:22 +01:00
Bruno Binet
0ca9997e10 paths for finding articles and pages are now parametrable 2012-03-11 01:22:16 +01:00
Alexis Metaireau
1c219d14bb Use the slug as default URL for tags and authors. 2012-03-11 01:16:32 +01:00
Alexis Metaireau
3bdc769134 Factorize some code about URL wrapping. 2012-03-11 01:14:22 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00
Alexis Metaireau
8499ce3340 add some url and saveas settings that weren't present in the default settings dict 2012-03-10 13:23:50 +01:00
Alexis Metaireau
a7ea166fd2 fix #233 2012-03-10 12:21:54 +01:00
saghul
5e26062fd0 Fix for issue #233 2012-03-10 11:32:22 +01:00
Alexis Metaireau
174f1b50c8 Merge pull request #231 from AndreaCrotti/master
various small improvements
2012-03-09 09:04:16 -08:00
Alexis Metaireau
8a442e726a Don't specify the default when accessing settings.
There is no need to do this, since all the default values are already provided
in the default settings dict (in settings.py)
2012-03-09 16:22:28 +01:00
Alexis Metaireau
6cde7fd27a PEP8-ify.
Wrap to 80 chars, sanitize imports.
2012-03-09 16:21:38 +01:00
Alexis Metaireau
df25dec30a Use the with statement when opening files. 2012-03-09 16:17:09 +01:00
Alexis Metaireau
a7cea63db6 Merge branch 'urls' of https://github.com/kylef/pelican 2012-03-09 11:42:21 +01:00
Andrea Crotti
20af8fd378 refactoring of the ANSI dictionary, removing all the repeated code 2012-03-07 12:17:39 +00:00
Andrea Crotti
4eb20c5d82 global declaration is only needed if it's necessary to modify a module
level variable, to declare it and use it read only it's not necessary
2012-03-07 12:00:32 +00:00
Andrea Crotti
8f7b08a01c remove now useless if __name__ == '__main__' checks and clean up the
old pelican script in bin
2012-03-07 10:38:08 +00:00
Bruno Binet
bfd0e63e3d fix pages urls 2012-03-06 16:41:36 +00:00
Bruno Binet
8bf0a22eb0 fix encoding errors
error was:codeEncodeError: 'ascii' codec can't encode character u'\xe9' [..]
2012-03-06 16:41:36 +00:00
Kyle Fuller
c5816c9c5a Make these patches compatible with upstream master 2012-03-06 16:41:36 +00:00
Kyle Fuller
9ba55c28b4 Support CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE for backwards compatibility 2012-03-06 16:41:36 +00: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
Kyle Fuller
ff9c786149 Create a Author class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
f9ed01bb64 Create a Tag class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
6754099730 Create a Category class which has a url property 2012-03-06 16:39:07 +00:00
Justin Mayer
4861a15774 Update outdated links to documentation and add Contribute link to README for issue #227 2012-03-06 08:12:15 -08:00
Alexis Metaireau
6c5fe3b0cf prepare next release 2012-02-28 19:09:41 +01:00
Alexis Metaireau
f31d588839 Merge branch 'master' of github.com:ametaireau/pelican 2012-02-28 19:00:15 +01:00
Alexis Metaireau
e0308e3528 bump version 2012-02-28 18:59:46 +01:00
Stéphane Raimbault
9cced6be83 Sort imports and remove trailing whitespaces 2012-02-28 17:40:13 +01:00
Stéphane Raimbault
c699172fd6 Removed useless imports 2012-02-28 17:37:17 +01:00
Stéphane Raimbault
90dab85e13 Removed execution mode of generators.py 2012-02-28 17:37:17 +01:00
Jiachen Yang
189d72e989 Merge remote-tracking branch 'ametaireau/master' into localedate 2012-02-28 01:43:50 +09:00
Jiachen Yang
e78372f338 import unittest if cannot found unittest2 2012-02-28 01:43:36 +09:00
Jiachen Yang
d1d82db4f7 Change date_format to support (locale,format) 2012-02-26 16:35:04 +09:00
Martin Brochhaus
67472298ca Added changes as per codereview. 2012-02-20 17:58:23 +01:00
Martin Brochhaus
52fb81a441 Added some fixes to the test suite so that it doesn't fail any more. 2012-02-20 17:39:47 +01:00
Alexis Metaireau
bf314fde6b Remove an useless css background image. Fix #209 2012-02-20 13:36:41 +01:00
Kyle Fuller
6ca3fd423b Fix a bug in the exception handler for a page reader 2011-12-24 00:57:12 +00: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
Kyle Fuller
256b92e5c4 Fix CLEAN_URLS and place articles in <slug>/index.html 2011-12-13 23:30:27 +00:00
Jökull Sólberg Auðunsson
651249a6c5 Bad logic in delete output booleans. Pretty sure this is just a check to make sure the posts directory is not inside the output. 2011-12-06 01:42:14 +01:00
Brian Hsu
b2919e9051 Add unique_id to RSS/ATOM feeds.
Reason:

    Without <guid> tag in RSS XML, some RSS reader will show all
    items in RSS as unread item.
2011-11-29 09:53:48 +08:00
Alexis Metaireau
53f7811a89 Merge pull request #188 from jokull/master
Please review these updates I've made after some experience with Calepin
2011-11-26 16:47:10 -08:00