1
0
Fork 0
forked from github/pelican
Commit graph

335 commits

Author SHA1 Message Date
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
Jökull Sólberg Auðunsson
dc22d2b131 Added WITH_FUTURE_DATES settings, which if true treats future dated content as drafts. 2011-11-26 23:23:19 +00:00
Jökull Sólberg Auðunsson
082cc2a401 Warning string formatting needs unicode if filename is utf-8 2011-11-26 22:31:43 +00:00
Skami18
c63eb85070 exit replaced by sys.exit to avoid crashes on cx_Freeze & py2exe (useful for Windows installer) 2011-11-25 18:39:19 +01:00
Jökull Sólberg Auðunsson
499a67912f Never fail on generating posts, just skip and log exception. 2011-11-23 20:35:45 +00:00
Jökull Sólberg Auðunsson
4144c8d76f More forgiving date strings. 2011-11-23 20:35:18 +00:00
Christophe Chauvet
2911a38f40 Issue #181, when parse tags 2011-11-06 13:16:47 +01:00
Skami18
b9157df1a3 Fixes the bug re-introduced in 0b6896a. Thank to @mapio for noticing the problem :-) 2011-10-29 12:57:15 +02:00
Skami18
0b6896a0ab Adding a summary no more make Pelican crashes
Setting pelican.readers.Article.summary was impossible and raised an
exception because pelican.readers.Article.summary was a @property
2011-10-25 18:31:17 +02:00
Skami18
3bdb1eae0b Pelican no more use ANSI codes on Windows (CMD.exe don't support it) 2011-10-14 17:21:03 +02:00
Massimo Santini
5bcc56fed8 elativize URLs in summary as we do for content (this time by rewriting summary as a property to defer the access to content when URLs in it have been relativized by the writer). 2011-10-04 07:43:26 +02:00
Massimo Santini
8b36f90db9 Revert "Relativize URLs in summary as we do for content"
This reverts commit 5a993de400.
2011-10-04 07:31:21 +02:00
Massimo Santini
5a993de400 Relativize URLs in summary as we do for content 2011-10-03 16:11:42 +02:00
Skami18
73d9ab4763 Tracebacks are shown in debug mode 2011-09-30 16:25:32 +02:00
Skami18
87c22dc7ac Pelican exits 1 or Exception.exitcode if an exception is raised 2011-09-10 11:37:19 +02:00
Nicolas Perriault
fc3ca7ea0e fixed aliased replacements were broken when using ARTICLE_PERMALINK_STRUCTURE 2011-08-22 19:42:42 +02:00
Michael Yanovich
5b4e148a2e Updated pelican/generators.py to check if the folder exists before
trying to create it. It will always generate an OSError if the
folder already exists even if it has the appropriate permissions.
2011-08-20 09:51:18 -04:00
Alexis Metaireau
96b52a2283 issue a warning in case no timezone is defined 2011-08-18 13:58:04 +02:00
Alexis Metaireau
b2092fe0e7 Merge pull request #156 from Natim/master
GTM Time in ATOM feeds
2011-08-18 03:53:36 -07:00
renhbo
eea6c7477d Fix an unicode error on Windows platform. 2011-08-19 02:19:44 +08:00
Skami18
26eecf082a Removed another utf-8 related bug 2011-08-16 18:43:51 +02:00
Rémy HUBSCHER
32a6ecbcc5 Fix timezone bug for ATOM generation 2011-08-16 15:11:49 +02:00
Rémy HUBSCHER
acb65b77af GMT Time in ATOM feeds 2011-08-16 11:40:08 +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
Alexis Metaireau
c73ae02170 pep8ize 2011-08-11 22:42:20 +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
Alexis Metaireau
4685e41173 Merge pull request #152 from mviera/master
Fixing errors in ARTICLE_PERMALINK_STRUCTURE option
2011-08-04 01:19:22 -07:00
mviera
a32dc03616 Keeping simple theme up-to-date too. Issue #145 2011-08-03 22:11:16 +02:00
mviera
e8cac3bfff I change article.slug to article.url for always referencing the disqus thread to the correct url. Issue #145 2011-08-03 22:01:45 +02:00
mviera
319b553f69 I developed the ARTICLE_PERMALINK_STRUCTURE option into the wrong method, because urls in feed are not being modified. Now, it's fixed. Issue #145. 2011-08-03 22:00:41 +02: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
Alexis Metaireau
89a48ecb1d Merge pull request #146 from mviera/master
Year and month in URL. Fixes #145
2011-07-29 13:34:23 -07: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