1
0
Fork 0
forked from github/pelican
Commit graph

283 commits

Author SHA1 Message Date
mviera
068a3d2f1d Year and month in URL. Issue #145 2011-07-27 23:47:50 +02:00
Skami18
17e7fb4509 Some changes in the templates loading system — documentation will be updated soon
-    The `simple` theme can now be extended with the syntax `{% extends "!simple/index.html" %}`
     instead of `{% extends "simple/index.html" %}` to avoid conflicts with a `simple/` folder.

-    If a template is missing in a theme, it will be replaced by the
     corresponding template of the `simple` theme, so it's possible to
     make a new theme with only two file: a `base.html` file that
     extends the `base.html` file of the `simple` theme, and a CSS
     stylesheet, for example.
2011-07-22 18:45:41 +02:00
Skami18
55bc684380 Added a head block to the simple theme. The html lang attribute of the simple theme now depends of the DEFAULT_LANG variable. 2011-07-21 19:10:38 +02:00
Skami18
dc8b168fc1 Improved the menu in themes/simple/templates/index.html. Added a #menu id 2011-07-21 18:43:18 +02:00
Skami18
3f844ee5d8 Removed an URL-related bug in templates 2011-07-21 18:41:25 +02:00
Skami18
81722f65b8 Template from the simple themes can now be extended from the other themes
Templates from the `simple` themes can be used in the other themes using
the `extends` keyword:

    {% extends "simple/index.html" %}

This does not affect the behavior of Pelican:, so there is no need to modify
the existing themes.
2011-07-19 12:31:18 +02:00
Skami18
bafa2154ff Added the author.html template to the simple theme. 2011-07-19 12:18:14 +02:00
Massimo Santini
dd5aeb678a Added author.html and authors.html templates and modified the docs accordingly 2011-07-16 00:44:36 +02:00
Massimo Santini
90c3b98413 Merge remote-tracking branch 'upstream/master' 2011-07-16 00:17:49 +02:00
Massimo Santini
86803b8ae4 Merge remote-tracking branch 'upstream/master' 2011-07-14 14:28:27 +02:00
Mario Rodas
dc6934be43 all test pass 2011-07-02 15:15:21 -05:00
Mario Rodas
3cd84ab396 moving tests dir 2011-07-02 14:41:39 -05:00
Michael Yanovich
9d9355c597 added ability for pelican to handle non-ascii characters when logging 2011-07-01 16:22:21 -04:00
Massimo Santini
d8da5ce590 Genetare authors pages with all their posts 2011-06-30 23:49:09 +02:00
Massimo Santini
0a26fcbd0d Avoiding to generate 1/1 if pagination is set to false 2011-06-30 23:46:29 +02:00
Simon Liedtke
9dc9fc1d40 Merge pull request #140 from borgar/date-with-seconds
Adding a date format with seconds.
2011-06-30 07:24:09 -07:00
Borgar
a7d5a9a420 Don't rewrite content URLs unless RELATIVE_URLS is True. 2011-06-29 13:42:04 +00:00
Borgar
f2ea886ed2 Rewrote URL reformatter.
This attempts to fix several issues:

1. The regexp that's supposed to catch href's doesn't work at all and even if it did match anything, it has too many parentheses for the following loop.

2. When a relative URL is replaced then it is done globally on the text and not per instance. So this `<a href="/foo/bar">/foo/bar</a>` will incorrectly get reformatted to `<a href="./static/foo/bar">./static/foo/bar</a>`.

3. Query parameter URLs are rewritten but shouldn't: `<a href="?foo=bar">` gets rewritten to `<a href="./static/?foo=bar">`

4. The joiner is producing too many slashes: `"." + "static" + "/files/image.png"` => `./static//files/image.png`.
2011-06-29 13:41:57 +00:00
Borgar
a6dc53fe20 Adding a date format with seconds. 2011-06-29 13:40:35 +00:00
joe di castro
6ac802bcf1 Enable Markdown Extra by default. 2011-06-21 03:23:41 -07:00
Alexis Metaireau
95b44ef8bf Add Pygments support to the default sourcecode directive.
It is now possible to have highlited sourcecode using the ``::`` syntax.
2011-06-18 18:59:44 +02:00
Alexis Metaireau
96c42c0aa5 give full credit (with url to the initial theme) for the notmyidea theme 2011-06-17 20:32:59 +02:00
Alexis Metaireau
971f3b4937 bump version number 2011-06-17 19:45:09 +02:00
Borgar
5398da9d76 read_settings should be passed a string argument
This solves a crash when user runs with no settings: `pelican .`
2011-06-16 13:10:03 +00:00
Alexis Metaireau
d366fd376e Merge branch 'master' of github.com:ametaireau/pelican 2011-06-13 15:01:10 +02:00
Alexis Metaireau
5ae0d2f20c Merge branch 'master' of https://github.com/flashingpumpkin/pelican 2011-06-13 15:00:34 +02:00
Alexis Metaireau
9d194b5a84 Merge pull request #135 from brejoc/master
Add Piwki support to the notmyidea theme
2011-06-13 02:13:28 -07:00
Jochen Breuer
94b15b5260 Added template, inlcude in base and some documentation for Piwik. 2011-06-13 07:30:33 +02: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
61884c5de4 Bump minor version 2011-06-12 22:37:39 +02:00
Alexis Metaireau
515e02bcc6 Add the OUTPUT_PATH as a relative path. 2011-06-12 22:31:26 +02:00
Alexis Metaireau
d698ca3899 Merge branch 'master' of github.com:ametaireau/pelican 2011-06-12 22:29:31 +02:00
Alexis Metaireau
7fc5fa0661 Order tag articles per date. Fix #133 2011-06-12 22:18:50 +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
Rory McCann
83a61da255 fix typo to make work if path ends in / (cf. issue #131) 2011-06-12 18:41:29 +01:00
Alexis Metaireau
086df21ce7 bump 2.7.0 2011-06-11 21:43:31 +02:00
Alen Mujezinovic
c5ffe377df European date format parsing. 2011-06-01 14:27:08 -07:00
Skami18
a5d4027c80 Removed the bug #122 and a lone closing tag 2011-06-01 19:00:56 +02: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
19ed8d5ef1 Merge branch 'master' of github.com:ametaireau/pelican 2011-05-19 17:36:34 +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
bb0b001184 Merge pull request #121 from derdon/master
check also the theme dir in autoreload mode. this fixes #120
2011-05-15 11:02:38 -07:00
derdon
0bbdc6bc00 check also the theme dir in autoreload mode 2011-05-15 12:14:03 +02:00
Alexis Metaireau
34d29e6192 Merge pull request #119 from derdon/master
simplified a one-liner
2011-05-14 08:34:02 -07:00
derdon
93d0ad25d1 simplify some code in utils.files_changed 2011-05-14 17:08:04 +02:00
Skami18
1cd7ac0483 The metadatas are now case insensitive. Removes a tags-related bug. 2011-05-14 15:31:07 +02:00
Mikhail Korobov
6cd425e408 Basic test for the new rst reader. Locale is also converted to fr_FR.utf-8 (I wasn't able to run tests without this) 2011-05-11 09:42:37 +06:00