1
0
Fork 0
forked from github/pelican
Commit graph

3,194 commits

Author SHA1 Message Date
Justin Mayer
8a76981137
Merge pull request #2559 from hrw/add-all_articles-to-period-pages
Provide 'all_articles' variable to period pages
2019-04-19 21:04:19 +02:00
Marcin Juszkiewicz
8520840be6 Provide 'all_articles' variable to period pages
This allows 'recent posts' functionality to work properly.
2019-04-19 19:45:23 +02:00
Boian Berberov
4f49428961 Documentation changes based on pull request comments.
- Settings -> Template pages: DIRECT_TEMPLATES example
- Creating Themes -> Common variables: authors and tags descriptions
2019-04-04 17:11:58 -06:00
Boian Berberov
86c1db1c63 Adding authors to Common variables
- Adding `authors` to Common variables in the documentation
- Reordering the `authors`, `categories`, `tags` variables in the table
2019-03-26 17:42:59 -06:00
Boian Berberov
3d5cdad473 Updating DIRECT_TEMPLATES documentation to match default configuration 2019-03-23 15:34:47 -06:00
Boian Berberov
de237e365a Remove redundant text and reorder settings for consistency
- Remove redundant `YEAR`, `MONTH`, and `DAY` `_ARCHIVE_SAVE_AS` sections
- Move `AUTHOR_URL` and `AUTHOR_SAVE_AS` to match `AUTHOR`, `CATEGORY`, `TAG` order throughout the rest of the document
- Move `YEAR`, `MONTH`, and `DAY` `_ARCHIVE_URL` and `_ARCHIVE_SAVE_AS` sections below paragraph describing them; and match ( `_URL`, `_SAVE_AS` ) order throughout the rest of the document

Recommend viewing with `--diff-algorithm=patience`
2019-03-19 20:56:44 -06:00
Justin Mayer
de71f39232
Merge pull request #2543 from bberberov/TEMPLATE_EXTENSIONS
Change TEMPLATE_EXTENSION to TEMPLATE_EXTENSIONS in documentation
2019-03-15 18:10:07 +01:00
Boian Berberov
583c0d4e17 Change TEMPLATE_EXTENSION to TEMPLATE_EXTENSIONS in documentation 2019-03-13 17:00:21 -06:00
Justin Mayer
396b679976
Merge pull request #2535 from oulenz/translations_ids
Fix bug in process_translations warning message generation that caused error with empty slugs
2019-03-07 21:19:08 +01:00
Justin Mayer
dde374651a
Merge pull request #2515 from bryanbrattlof/issue/2506
Update 'simple' theme to use new Atom/RSS settings
2019-03-07 21:16:51 +01:00
Justin Mayer
d9e98a5a39
Merge pull request #2514 from rask004/fix-2487
Fix pelican-import error regarding wp-attach and Unicode
2019-03-07 21:13:37 +01:00
Justin Mayer
6fa80ce37d
Merge pull request #2181 from andrew-vant/recursive_epm
Allow directory entries in EXTRA_PATH_METADATA
2019-03-07 21:11:04 +01:00
Andrew Vant
ce9f3d55a3 Allow directories in EXTRA_PATH_METADATA
Metadata applied to a directory will apply to all files under
it. In case of conflicts, child paths beat parent paths, so metadata
applied to `dir/subdir/file.md` will take precedence over that applied
to `dir/subdir`, which will take precedence over just `dir`.
2019-03-06 16:21:27 -05:00
Oliver Urs Lenz
c9dc3223eb Fix bug in process_translations warning message generation that caused error with empty slugs 2019-02-24 11:19:12 +01:00
Justin Mayer
e967988eff
Merge pull request #2528 from johnfraney/fix-failing-ci
Remove Python 3.4
2019-02-16 17:00:01 +01:00
John Franey
63a72fc619 Remove Python 3.4 references
This PR removes the Python 3.4 tox task and updates references in the
code to Python 3.5+.

tox complains about Python 3.4, which is EOL after next month:

> py34 installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
2019-02-06 10:23:27 -04:00
John Franey
3395e71570 Fix linting issues
Fixes linting issues that caused the `flake8` CI stage to fail.
2019-02-06 10:22:57 -04:00
Justin Mayer
95a6486a8b
Merge pull request #2521 from monadnoc/quickstart_en_fix
Fix _DEFAULT_LANGUAGE in pelican-quickstart
2019-01-27 10:36:18 +01:00
Justin Mayer
5517e0dece
Merge pull request #2508 from oulenz/feed_importer
Reverts bug involving strftime accidentally introduced in feed importer
2019-01-27 10:34:38 +01:00
Justin Mayer
d5947b53a8
Merge pull request #2504 from mosra/docs-escaped-backslash
Docs: properly show escaped chars in SLUG_REGEX_SUBSTITUTIONS
2019-01-27 10:33:56 +01:00
Justin Mayer
f490618b9f
Merge pull request #2503 from mosra/paginator-broken-again
Pagination: the lstrip() was way too hungry, eating absolute URLs
2019-01-27 10:32:39 +01:00
Justin Mayer
e8c7756875
Merge pull request #2486 from bryanbrattlof/feature/1
Add relative_source_path attribute to content
2019-01-27 10:24:29 +01:00
Bryan Brattlof
42c27594ab
Add relative_source_path attribute to content 2019-01-26 18:47:56 -06:00
Justin Mayer
071f4756c9
Merge pull request #2522 from cclauss/patch-1
Simplify _input_compat and str_compat
2019-01-24 17:35:40 +01:00
cclauss
f6724cb960
Simplify _input_compat and str_compat
The __six__ module provides us these same constructs using different names.
2019-01-23 19:41:44 +01:00
Jordan Nelson
15f5e81552 fixed _DEFAULT_LANGUAGE in pelican-quickstart 2019-01-22 19:59:20 -06:00
Patrick
9ffaaa16f8
Move feedburner config to wiki
Fixes #2386

https://github.com/getpelican/pelican/wiki/FeedBurner-Configuration
2019-01-21 17:45:13 -08:00
Bryan Brattlof
0153f55016
Update 'simple' theme to use new Atom/RSS settings 2019-01-15 10:59:40 -06:00
Roland Askew
2aebfd1cdc fix pelican-import error regarding wp-attach and Uncode 2019-01-12 12:44:04 +13:00
Oliver Urs Lenz
3cdf4fd410 reverts bug involving strftime accidentally introduced in feed importer 2019-01-05 19:19:46 +01:00
Justin Mayer
ac90104103
Merge pull request #2507 from jorgesumle/update-changelog
Fix incorrect update note in changelog
2019-01-05 07:15:02 -08:00
Jorge Maldonado Ventura
cc9598299d Fix incorrect update note in changelog 2019-01-05 15:52:05 +01:00
Vladimír Vondruš
ec2a1bd42a pagination: this lstrip() was way too hungry, eating absolute URLs.
Reverts back to how pagination worked for the {url} placeholder as I did
it in 182fb11c80. Absolute URLs with
one or two leading slashes were eaten by lstrip() and became relative,
which then caused broken links in my case.

Added extra comments to this piece of code (*and* the test) to make it
less likely that someone breaks this again in the future.
2019-01-04 22:10:53 +01:00
Vladimír Vondruš
94db14e801 docs: properly show escaped chars in SLUG_REGEX_SUBSTITUTIONS. 2019-01-04 17:08:32 +01:00
Jorge Maldonado Ventura
58be4f0e04 Fix warning message
Add space between words 'static' and 'content'
2019-01-02 13:13:16 +01:00
Justin Mayer
b6d423d2b8
Merge pull request #2415 from NicolasLM/remove-unnecessary-atom-summaries
Remove Atom summaries when they are unnecessary
2018-12-19 11:01:58 -08:00
Nicolas Le Manchet
1b8a7826c4 Remove Atom summaries when they are unnecessary
Do not include a summary tag to Atom entries when:
- the summary is empty
- the summary and the full content are the same

Fixes #2403
2018-12-18 21:57:16 +01:00
Justin Mayer
6f0743b340
Merge pull request #2492 from ixjlyons/patch-3
Remove stopserver from .PHONY prereqs in Makefile template
2018-12-12 16:58:34 -08:00
Kenneth Lyons
4a3a06af8a
Remove stopserver from .PHONY prereqs in Makefile template 2018-12-12 13:25:14 -08:00
Justin Mayer
2f077037ba Prepare for next version 2018-11-30 09:00:11 -08:00
Justin Mayer
24d6efa9fd Prepare to release Pelican 4.0.1 4.0.1 2018-11-30 08:31:43 -08:00
Justin Mayer
49c77d7412 Add upgrade notes for slug-related settings
Refs #2442
2018-11-29 08:27:34 -08:00
Justin Mayer
f7e005cd0f Add bug fixes to changelog 2018-11-29 07:55:59 -08:00
Justin Mayer
0e3c8cede7
Merge pull request #2480 from avaris/serve-log
Refactor pelican.server logging
2018-11-28 21:07:45 -08:00
Justin Mayer
6aa2ad1808
Merge pull request #2449 from stuaxo/patch-5
Make importer work again. Fixes #2448
2018-11-28 21:01:16 -08:00
Justin Mayer
227c33a57d
Merge pull request #2483 from bryanbrattlof/issue/2482
Remove unnecessary whitespace stripping in Makefile template
2018-11-28 20:46:41 -08:00
Bryan Brattlof
59cca7adb5
Remove unnecessary whitespace stripping 2018-11-28 10:31:21 -06:00
Deniz Turgut
8aeed9b7bd Refactor pelican.server logging
* Use pelican.log instead of default loggers
* Remove excessive logging (report failures if nothing matches, don't report successes)
2018-11-27 19:55:31 +03:00
Stuart Axon
a597a31dad Make the blogger tests consistant with the wp ones - cast
to list in test if needed.
2018-11-26 16:58:12 +00:00
Stuart Axon
942e462241 Don't convert posts to lists for wp importer. 2018-11-26 16:37:10 +00:00