Skami18
b892f758a8
Pelican show a warning instead of raising an exception if the author of an article is not found an there is no settings file
2011-07-26 17:45:15 +02:00
Alexis Metaireau
6611107e48
little english review on theme extension
2011-07-23 16:06:58 +02:00
Skami18
09d7847c7e
Modified the sphinx settings
...
It seems the manpages ``pelican-themes.en.1`` and
``pelican-themes.fr.1`` were only used for the Debian packages.
Unforunately, ``dh_manpages`` seems to support installation of manpages
depending of their languages, so i've changed the settings and only
``pelican-themes.1`` is generated, this avoids having to rename the
manpages before packaging...
The documentation about making themes for Pelican is now generated in
the file ``pelican-theming.1``.
2011-07-23 15:01:46 +02:00
Skami18
52df0dc47a
Added the documentation for template inheritance
...
Requires a re-reading by someone speaking English better than me...
2011-07-23 14:53:55 +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
Alexis Metaireau
53b295b980
Update the features proposed by pelican on the doc.
2011-07-22 02:12:10 +02:00
Alexis Metaireau
fc2843306f
Add a settings.py sample into the documentation.
...
Fixes #118
2011-07-22 02:11:18 +02:00
Alexis Metaireau
b9aa3d0bfd
add a changelog with features per version
2011-07-22 01:56:23 +02:00
Simon
d77f657aa7
add dotclear importer - a bit ugly but it works ! some issues remain with end of lines
2011-07-22 07:18:32 +08: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
Alexis Metaireau
ffbf5016ac
Merge pull request #142 from mapio/master
...
Added author pages generation
2011-07-15 17:02:06 -07:00
Massimo Santini
d7f85712db
Added author.html and authors.html templates and modified the docs accordingly
2011-07-16 00:44:49 +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
Alexis Metaireau
34c41b43e5
Merge pull request #144 from marsam/master
...
Improving tests
2011-07-15 14:39:05 -07:00
Massimo Santini
86803b8ae4
Merge remote-tracking branch 'upstream/master'
2011-07-14 14:28:27 +02:00
Mario Rodas
77aac049fd
improved test_setting.py
2011-07-02 23:47:22 -05:00
Mario Rodas
3958cbcce3
removing reqs.txt file: replaced by tox
2011-07-02 15:55:26 -05:00
Mario Rodas
53c19cc9a0
adding tox
2011-07-02 15:54:24 -05:00
Mario Rodas
d19b0c975b
test works with python2.5
2011-07-02 15:53:27 -05: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
Mario Rodas
0e596a29d9
Merge remote branch 'upstream/master'
2011-07-02 14:19:11 -05:00
Simon Liedtke
10869f7845
Merge pull request #143 from myano/master
...
add unicode handling for logging
2011-07-02 08:02:35 -07: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
Simon Liedtke
f05da13f47
Merge pull request #139 from borgar/rel-url-fix
...
Relative URLs rewriter fixes
2011-06-30 07:23:53 -07:00
Borgar
53e25ce2cf
Fixed typo in docs: missing plural s in RELATIVE_URLS.
2011-06-29 13:42:12 +00: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
Mario Rodas
0183882cf7
ignoring tags file
2011-06-22 12:22:04 -05:00
Alexis Metaireau
3d6bf828fd
Merge pull request #138 from joedicastro/master
...
Enable Markdown Extra by default in Pelican.
2011-06-21 03:32:56 -07:00
joe di castro
6ac802bcf1
Enable Markdown Extra by default.
2011-06-21 03:23:41 -07:00
Alexis Metaireau
eee004cdb5
update the documentation about code highlighting
2011-06-18 19:02:57 +02: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
2.7.2
2011-06-17 19:45:09 +02:00
Alexis Metaireau
e617b08ab6
add information about the importer in the documentation
2011-06-17 19:26:28 +02:00
Simon Liedtke
a66fa4c77d
Merge pull request #137 from borgar/upstream
...
read_settings should be passed a string argument
2011-06-16 08:52:02 -07: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
b474a6f4e5
remove unnecessary exclamation mark
2011-06-13 18:42:31 +02:00
Alexis Metaireau
eb7c5674a0
add a link to the IRC channel and the webchat into the documentation
2011-06-13 18:26:31 +02:00
Alexis Metaireau
d366fd376e
Merge branch 'master' of github.com:ametaireau/pelican
2011-06-13 15:01:10 +02:00