Commit graph

1357 commits

Author SHA1 Message Date
Vincent Prouillet fae644cffe Update pulldown_cmark
Close #693
2019-05-29 20:33:36 +02:00
Vincent Prouillet ba6165fc47
Merge branch 'master' into next 2019-05-28 22:20:48 +02:00
Vincent Prouillet 717f2112bb Add chmod to list of events on which to rebuild on serve 2019-05-27 19:51:43 +02:00
Marcus Klaas de Vries bada9ab93f Touch up dead link error message (#698) 2019-05-27 16:24:42 +02:00
Vincent Prouillet ec61a57841 Use @/ for internal links rather than ./
Close #686
2019-05-27 14:35:18 +02:00
Vincent Prouillet cdfd63a1ad Add zola check to changelog and remove check option from config doc 2019-05-27 14:16:46 +02:00
Marcus Klaas de Vries 0d964204c3 Check command global (#683)
* Add check subcommand

* Add some brief documentation for the check subcommand

* Start working on parallel link checks

* Check all external links in Site

* Return *all* dead links in site
2019-05-27 14:05:07 +02:00
Vincent Prouillet 93338c2762 Update changelog and version 2019-05-22 20:53:28 +02:00
Chris Morgan 1a9ab968fe Allow manual specification of header IDs (#685)
Justification for this feature is added in the docs.

Precedent for the precise syntax: Hugo.

Hugo puts this syntax behind a preference named headerIds, and automatic
header ID generation behind a preference named autoHeaderIds, with both
enabled by default. I have not implemented a switch to disable this.

My suggestion for a workaround for the improbable case of desiring a
literal “{#…}” at the end of a header is to replace `}` with `}`.

The algorithm I have used is not identical to [that
which Hugo uses][0], because Hugo’s looks to work at the source level,
whereas here we work at the pulldown-cmark event level, which is
generally more sane, but potentially limiting for extremely esoteric
IDs.

Practical differences in implementation from Hugo (based purely on
reading [blackfriday’s implementation][0], not actually trying it):

- I believe Hugo would treat `# Foo {#*bar*}` as a heading with text
  “Foo” and ID `*bar*`, since it is working at the source level; whereas
  this code turns it into a heading with HTML `Foo {#<em>bar</em>}`, as
  it works at the pulldown-cmark event level and doesn’t go out of its
  way to make that work (I’m not familiar with pulldown-cmark, but I get
  the impression that you could make it work Hugo’s way on this point).
  The difference should be negligible: only *very* esoteric hashes would
  include magic Markdown characters.

- Hugo will automatically generate an ID for `{#}`, whereas what I’ve
  coded here will yield a blank ID instead (which feels more correct to
  me—`None` versus `Some("")`, and all that).

In practice the results should be identical.

Fixes #433.

[0]: a477dd1646/block.go (L218-L234)
2019-05-20 13:08:49 -07:00
Björn Lindström 8491110c4b Elaboration and imrovement in docs on paging (#692)
Added and clarified a few things that would probably have saved me from
raising getzola/zola#691.
2019-05-20 02:30:41 -07:00
Vincent Prouillet b70f9f95e3 Process images at the end of the build process
To also process the ones found in templates

Closes #669
2019-05-20 11:29:54 +02:00
Vincent Prouillet 290029aeed Fix a bit the pagination template doc 2019-05-18 17:55:10 -07:00
Vincent Prouillet 55a166ac9e Fix dodgy test 2019-05-17 07:53:07 -07:00
Vincent Prouillet e21a102f89
Merge branch 'master' into next 2019-05-15 21:42:51 -07:00
Vincent Prouillet 52f6072ea6 Use file path rather than page path for assets
Closes #674
2019-05-15 21:40:59 -07:00
Vincent Prouillet a1a40574f6 Build syntax dumps 2019-05-14 08:52:12 -07:00
Vincent Prouillet 7337b38b96 Netlify support is back! 2019-05-09 09:23:17 -07:00
Vincent Prouillet b660649189
Update PULL_REQUEST_TEMPLATE.md 2019-05-07 07:18:26 -07:00
toidiu 5ae75033ac bump version in deployment docs (#680)
* bump version in deployment docs
2019-05-07 16:17:47 +02:00
Vincent Prouillet b29596c3cc Mention the 404 page does not get current_path/current_url
Close #586
2019-05-01 23:06:05 +02:00
Vincent Prouillet 94253361db
Update snapcraft.yaml 2019-05-01 18:53:21 +02:00
Vincent Prouillet f816e8a023 Is Netlify support working again? 2019-05-01 18:31:54 +02:00
Vincent Prouillet 8286080a70
Multi-language support for Zola is ehh 2019-05-01 18:25:40 +02:00
Vincent Prouillet aae2748c59
Merge pull request #676 from nuxeh/add-nix-syntax
Add sublime-syntax for Nix expression language
2019-04-30 11:43:19 +02:00
Vincent Prouillet 7a7241e793 Start work on 0.7.1 2019-04-29 09:50:23 +02:00
Vincent Prouillet fb6f9295e3
Merge pull request #677 from lukehsiao/patch-1
docs(changelog): fix formatting in v0.7.0 changelog
2019-04-29 09:48:03 +02:00
Luke Hsiao 0e0fa57121
docs(changelog): fix formatting in v0.7.0 changelog 2019-04-28 17:22:08 -07:00
Ed Cragg 876a0c5424 Add sublime-syntax for Nix expression language
This is based on [1] and converted to sublime-syntax using [2].

[1] https://github.com/wmertens/sublime-nix
[2] https://github.com/aziz/SublimeSyntaxConvertor
2019-04-28 15:25:53 +01:00
Vincent Prouillet 986437546c
Merge pull request #644 from getzola/next
v0.7.0
2019-04-28 10:41:12 +02:00
Vincent Prouillet f980432a52 Prepare for release 2019-04-28 09:54:13 +02:00
Vincent Prouillet 11ef490699 Revert base-path commit and add changelog 2019-04-20 12:51:26 +02:00
Vincent Prouillet debe0633bc Revert "Allow default base-path command line option to be set for building and serving"
This reverts commit 1815155c1d.
2019-04-20 12:50:34 +02:00
Vincent Prouillet 2aa3ea758b Set content-type for livereload script
Closes #667
2019-04-18 19:11:06 +02:00
Vincent Prouillet 603906de85 Add a test for local time in TOML 2019-04-18 18:55:09 +02:00
Vincent Prouillet 7267dd16e1
Merge pull request #666 from wezm/patch-1
Add some missing words to the creating a theme page
2019-04-18 09:42:15 +02:00
Wesley Moore d4a33d34ae
Add some missing words to creating a theme page 2019-04-18 07:49:17 +10:00
Vincent Prouillet 5604738048
Merge pull request #660 from bdjnk/strip_shortcode_outer_newlines
strip wrapping whitespace from newline outward from shortcodes
2019-04-17 19:29:07 +02:00
Vincent Prouillet 85feb88ee9
Merge pull request #664 from pka/patch-4
Update t-rex.tileserver.ch
2019-04-17 19:27:18 +02:00
Pirmin Kalberer aea2723a8a
Update t-rex.tileserver.ch 2019-04-17 11:52:30 +02:00
Vincent Prouillet e12d0f8f3c
Merge pull request #662 from kgadek/sitemap-order
Sort sitemap elements by permalink
2019-04-15 10:47:11 +02:00
Konrad Gądek d9122b105e Sort sitemap elements by permalink
This feature was originally reported in #257 and got fixed in
3a2dab5974, however it seems this
got lost during development.

Closes #661
Ref #257
2019-04-13 19:06:39 +02:00
Vincent Prouillet 83477e757a
Merge pull request #593 from bdjnk/readme
use svg icon in comparison table, tighten notes prose
2019-04-11 19:17:48 +02:00
Michael Plotke 2804b40875 strip wrapping whitespace from newline outward from shortcodes 2019-04-10 13:31:33 -04:00
Michael Plotke 101550324f improve README comparison svgs 2019-04-09 14:36:55 -04:00
Michael Plotke e2ed50b6e0 Merge remote-tracking branch 'origin/next' into readme 2019-04-09 13:36:31 -04:00
Vincent Prouillet 07bd79bbee
Try to update snapcraft.yml one more time 2019-04-08 18:37:09 +02:00
Vincent Prouillet 5a9718ff1c
Update snapcraft.yaml 2019-04-08 18:17:06 +02:00
Vincent Prouillet 522c06e736 Update all themes 2019-04-06 11:37:58 +02:00
Vincent Prouillet f1a3045059
Merge pull request #652 from high-testing/next
specify proper sitemap schema
2019-04-05 14:02:37 +02:00
Vincent Prouillet 88a34acb0a
Merge pull request #654 from sthiele/patch-1
update zola version on deployment docs
2019-04-05 10:40:18 +02:00