1
0
Fork 0
forked from github/pelican
Commit graph

3,190 commits

Author SHA1 Message Date
Justin Mayer
5c08af8f80
Merge pull request #2309 from oulenz/translations
Control translation identification scope with new translation_id settings
2018-11-01 13:11:19 +01:00
Oliver Urs Lenz
77c967f1db control scope of identification of translations with new settings 2018-11-01 10:12:47 +01:00
Justin Mayer
c97c128d16
Merge pull request #2375 from oulenz/page_save_as
Tweak paginator to accommodate {slug}.html patterns
2018-11-01 09:53:19 +01:00
Oliver Urs Lenz
a78950bce7 tweak paginator to accomodate {slug}.html patterns 2018-11-01 00:14:22 +01:00
Justin Mayer
461f535d04
Merge pull request #2326 from oulenz/slug_substitutions
Control slug substitutions from settings with regex
2018-10-31 20:08:01 +01:00
Oliver Urs Lenz
5199fa51ea control slug substitutions from settings with regex 2018-10-31 16:20:21 +01:00
Justin Mayer
96a689eaef
Merge pull request #2324 from oulenz/get_suffixes
correct suffix order in ComplexHTTPRequestHandler
2018-10-31 15:23:22 +01:00
Justin Mayer
6af825eae6
Merge pull request #2426 from jagmoreira/ghp-commit-msg-task
Add current date when publishing via ghp and Invoke
2018-10-31 10:32:40 +01:00
Justin Mayer
cdc999dd28
Merge pull request #2414 from jfbaillette/patch-1
Resolve mtime truncation. Fixes #2412
2018-10-31 10:25:13 +01:00
Joao Moreira
d965575f4a Add current date when publishing with ghp tool.
Re-submission of #2083 based on Invoke's task.py.
2018-10-30 19:05:31 -05:00
Gordon Reeder
a247354db8
Updated base.html to fix issue #2404. 2018-10-28 20:08:41 -07:00
Justin Mayer
f2b429b7b7
Merge pull request #2422 from justinmayer/print-settings
Add CLI argument to print current settings
2018-10-26 18:04:21 +02:00
Justin Mayer
ab9b21c03d Move --print-settings logic out of main() 2018-10-26 12:00:40 +02:00
Justin Mayer
b27153fe9b Conform to changes in Flake8 v3.6 code style 2018-10-25 09:36:26 +02:00
Justin Mayer
08ae2ef361 Pin Python-Markdown until fixed v3.1 is released 2018-10-25 09:28:42 +02:00
Justin Mayer
f130695bbf Support multiple --print-settings arguments 2018-10-24 11:49:03 +02:00
Justin Mayer
ddb5f4ed71
Merge pull request #2389 from farseerfc/master
Fix DeprecationWarning in tests about collections.abc
2018-10-24 09:19:09 +02:00
Justin Mayer
6224f95ea3
Merge pull request #2147 from outlace/patch-1
Enhance GitHub User Pages docs in tips.rst
2018-10-24 08:42:36 +02:00
Justin Mayer
e81a284c39 Add CLI argument to print current settings
Fixes #2275
Refs #1762
2018-10-23 19:57:26 +02:00
Baillette
00a14a02a6
Resolving mtime truncation issue #2412
Issue #2412 : python copy instruction doesn't preserve mtime under Debian/stretch (up to date).
This results in lot of files are copied to output even if not changed (and a lot of wasted time).

Proposed solution in pelican/pelican/generators.py, line 823:
#return s_mtime > d_mtime
return s_mtime - d_mtime > 0.000001
2018-10-03 19:13:39 +02:00
Justin Mayer
9e526a825e
Merge pull request #2384 from oulenz/pagination_per_template
Control pagination per template
2018-09-15 08:57:31 +02:00
Justin Mayer
8f68551454
Merge pull request #2397 from oulenz/pelican_server
Fix pelican.server __main__ code, add deprecation warning
2018-08-08 18:08:48 +02:00
Oliver Urs Lenz
8c433616bf fix pelican.server __main__ code, add deprecation warning 2018-08-08 18:00:15 +02:00
Oliver Urs Lenz
5cc40ee3ba correct suffix order in ComplexHTTPRequestHandler 2018-08-08 16:37:39 +02:00
Justin Mayer
e9b654bbaa
Merge pull request #2395 from oulenz/import_from_blogger
Add Blogger XML backup importer
2018-08-08 09:45:52 +02:00
Justin Mayer
6a717469d9
Merge pull request #2396 from oulenz/wrap_none
importer: don't wrap, because it breaks HTML attributes
2018-08-08 09:43:37 +02:00
Oliver Urs Lenz
f3e95cf473 importer: don't wrap, because it breaks html attributes 2018-08-07 17:16:23 +02:00
Oliver Urs Lenz
c388f14d3e add blogger importer 2018-08-07 14:33:10 +02:00
Justin Mayer
f2c3136921
Merge pull request #2366 from davidag/pandoc2-import-support
Add pandoc2 support to pelican-import. Fix #2255
2018-08-04 11:26:32 +02:00
David Alfonso
150d1f05d0 Add pandoc2 support to pelican-import. Fix #2255
Specific options passed to pandoc2 in order to get similar results than
with pandoc1:

- Disable smart quotes from the markdown output.

- Enable raw parsing from html.
2018-08-03 19:44:50 +02:00
Justin Mayer
d2eb32c910 Remove *.in files from MANIFEST.in
There no longer appear to be any *.in files in this project, presumably
because we switched to Jinja2 templates instead. Refs #1155
2018-08-03 14:57:22 +02:00
Justin Mayer
998de87fba
Merge pull request #2393 from ryanfox/server_error_message
Clarify error message for deprecated dev server command
2018-08-03 09:42:52 +02:00
Ryan Fox
36d61438c1 clarify error message when running deprecated command for dev server. Fixes #2390 2018-08-02 20:59:19 -05:00
Justin Mayer
4f861245a6
Merge pull request #2392 from Bernardoow/gh-import-update-file-in-gh-page-branch
Document GitHub Pages import to gh-pages branch
2018-07-30 09:44:22 +02:00
Bernardo Gomes
31fd6c6da6 ghp-import ouput update the branch gh-pages 2018-07-29 19:26:03 -03:00
Jiachen YANG
500c556974 fix travis tests for py27 by try import collections.abc 2018-07-25 16:27:36 +09:00
Jiachen YANG
6d4fcedacc fix DeprecationWarnning about collections.abc 2018-07-25 15:47:35 +09:00
Oliver Urs Lenz
62128fb948 control pagination per template 2018-07-12 17:39:51 +02:00
Justin Mayer
76eebfe539
Merge pull request #2380 from oulenz/attachment_links
importer: update links to attachments if --wp-attach
2018-07-09 12:54:59 +02:00
Oliver Urs Lenz
a5571ba1d5 importer: update links to attachments if --wp-attach 2018-07-09 11:26:50 +02:00
Justin Mayer
a6600e2fca
Merge pull request #2378 from davidag/fix-makefile-template
Avoid escaping dollar signs in Makefile template
2018-07-09 10:42:58 +02:00
Kevin Deldycke
c04a4701b8 Replace Fabric by Invoke. 2018-07-08 21:33:10 +02:00
Justin Mayer
dc465d5c5f Merge fix for broken symlink test on macOS 2018-07-08 21:29:17 +02:00
Thomas Fan
6e0ed07446 Resolve symlinks before comparison test
Fixes #2358
2018-07-08 21:27:42 +02:00
David Alfonso
7d18a4f3b8 Avoid escaping dollars in Makefile template
If dollars are escaped, the commands don't work as expected (i.e. doing
variable substitution).
2018-07-07 19:48:52 +02:00
Justin Mayer
9ac35ed47a
Merge pull request #2376 from strburst/simple_theme_categories_title
Tweaks to simple theme on listing pages
2018-07-06 21:45:14 +02:00
Justin Mayer
d84757fae5
Merge pull request #2377 from strburst/simple_no_authors
Show article category/tags even if no authors (in the simple theme)
2018-07-06 21:43:01 +02:00
Allen Zheng
a3d76a0fd8 Remove bad whitespace stripping in simple theme
This joins the contents of the block to the previous line, which messes
up the output formatting in this case.

Old vs new output:
- <ul>        <li>...
+ <ul>
+     <li>...

This change is already in the 'notmyidea' theme.
2018-07-06 09:13:39 -04:00
Allen Zheng
bf16faf1e2 Add missing ul tag in tags list in simple theme
There are some li elements generated without a ul/ol around them.
Besides being malformed html, this results in there being no margin that
lists normally have.
2018-07-06 09:13:39 -04:00
Allen Zheng
10f70db9a6 Add h1 to the categories list in simple/notmyidea
The authors.html and tags.html templates both have this. Add it here as
well for consistency.

This also affects the notmyidea theme because it inherits the categories
template from simple.

While we're here, also make indentation consistent with other files (4
spaces within a block).
2018-07-06 09:13:39 -04:00