| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Replaces syntax that was relevant in earlier Python versions but that
now has modernized equivalents.
|
| |
|
|
|
|
|
|
| |
This reduces the warnings and errors when generating the sample content
from twelve to one (intentional) warning. The latter is expected by
assertLogCountEqual() in the "test_basic_generation_works" test.
|
|
|
|
|
|
| |
This commit removes Six as a dependency for Pelican, replacing the
relevant aliases with the proper Python 3 imports. It also removes
references to Python 2 logic that did not require Six.
|
|
|
|
|
| |
* Convert FEED settings from `%s` to `{slug}` redux
Closes #2106, Closes #2383
|
| |
|
|
|
|
| |
It's now present in both RSS and Atom feeds.
|
|\
| |
| | |
Removed `PDF_GENERATOR=False`
|
| |
| |
| | |
It might give the impression that the PDF generation is still part of the core.
|
|/
|
|
|
|
|
| |
- DEFUALT_METADATA, tuple -> dictionary
- OUTPUT_RETENTION, tuple -> list
- JINJA_FILTERS, list -> dictionary
- DIRECT_TEMPLATES, tuple -> list
|
|
|
|
|
|
|
|
|
|
| |
On OSX, if LC_TIME and LC_CTYPE differs the output of strftime is not properly decoded
in Python 3. This makes sure that the 'utils.DateFormatter' and the related Jinja filter
'strftime' set the same value for LC_TIME and LC_CTYPE while formatting.
Also, '%a' is removed from DEFAULT_DATE_FORMAT in 'custom_locale' tests. OSX and *nix have
different conversions for '%a' ('Jeu' vs 'jeu.') and there is not a feasible way to handle
the difference for tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reverts getpelican/pelican@ddcccfeaa952d2e1e24ceac94e5d66c73b57c01b
If one used a locale that made use of unicode characters (like fr_FR.UTF-8)
the files on disk would be in correct locale while links would be to C.
Uses a SafeDatetime class that works with unicode format strigns
by using custom strftime to prevent ascii decoding errors with Python2.
Also added unicode decoding for the calendar module to fix period
archives.
|
|
|
|
|
| |
This allows for templates using {% if article.modified %}
instead of {% if article.modified != article.published %} .
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
added sourcecode to the functional test so it's tested *somewhere*.
fixes #963
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deliberate overriding via `save_as` metadata should be allowed, even after the
overwrite detection feature. This commit is to add tests for deliberate
overriding. As a result, the relevant tests *should fail* after this commit.
Added a page and an article, both to override a tag, with very old dates so
it limits the amount of diff in the generated pages.
Overriding feature introduced by d0e9c52410e70e14008d2ef827ba7ac306243e72
Overwrite detection introduced by ff7410ce2ada85b486a67ae11874d60d135ff939
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'd added them earlier to test that a configuration edit could
preserve the original output locations. However, it is likely that
you have quite a number of static files, and we shouldn't recommend
listing explicit paths for all of them. With this configuration
change, the pictures will be copied into the output directory using
their original relative path (e.g. `pictures/Fat_Cat.jpg` without the
`static`). Any |filename|-style links will be updated automatically.
If you *want* the pictures to end up in a `static` directory, it's
easier to just organize your source that way.
|
| |
|
| |
|
|\
| |
| | |
Override page 'url' and 'save_as' directly from the page metadata. Fixes #400.
|
| |
| |
| |
| | |
and update functional tests output
|
|/
|
|
| |
Stays compatible with 2.x series, thanks to an unified codebase.
|
|
|
|
| |
closes #614: cannot reproduce this issue.
|
|
|
|
| |
and update functional tests output
|
|
|
|
|
| |
Remove the code that was appending ../static in front of some URLs, and add a
way to do cross-content linking.
|
|
|
|
| |
the custom generation tests)
|
|\
| |
| |
| |
| | |
Conflicts:
tests/support.py
|
| |
| |
| |
| | |
Resolves #380 If the status metadata is set to 'hidden' on a page it is translated and rendered but not linked anywhere in the site.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177.
|
| |
|
| |
|
|
|
|
| |
It is now possible to have highlited sourcecode using the ``::`` syntax.
|
| |
|
|
|
|
| |
(I wasn't able to run tests without this)
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
pelican/contents.py
pelican/settings.py
samples/pelican.conf.py
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #86
|
| |
| |
| |
| | |
It is now possible to have soem default metadata defined in the settings. Fixes #98
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|