Commit graph

1684 commits

Author SHA1 Message Date
Jochen Kupperschmidt 4c4fad2cfb
Adjust whitespace in expression delimiters (#1610)
Consistent whitespace makes the constructs easier to recognize.
2021-09-04 08:11:56 +02:00
Jochen Kupperschmidt 7af662c862
Add OrgaTalk wiki to list of example sites (#1611) 2021-09-04 08:11:33 +02:00
Vincent Prouillet 276403148f
Merge pull request #1606 from marier-nico/patch-1
Fix docs by moving `extra_syntaxes` to `[markdown]`
2021-09-01 12:29:00 +02:00
Nicolas Marier 5a418e1e39
docs(configuration): move extra syntaxes to markdown
After much trial and error, it would seem that the correct location for extra syntaxes is actually the markdown section rather than the main section. This commit fixes that part of the docs.
2021-08-31 17:21:22 -04:00
Vincent Prouillet 3dcc080f9d
Merge pull request #1553 from getzola/next
Next version
2021-08-24 09:09:59 +02:00
Vincent Prouillet 1249d4dc84 Prepare for 0.14.1 2021-08-24 08:50:44 +02:00
Marc-Antoine ARNAUD f866e0b650
Update docker documentation usage with Zola 0.14.0 (#1594) 2021-08-20 19:49:44 +02:00
Vincent Prouillet f7a4ef2617 Add draft to section variable in templates
Closes #1592
2021-08-20 19:47:41 +02:00
Koen Bolhuis 5ca2b29c49
Fix cachebust for files in the output path (#1586)
* Consider the site's output path in search_for_file

The search_for_file helper function now accepts an optional
output path. If passed, the file will also be searched there.
This is used in the get_url function to search in the
Site::output_path.

In practice, this means cachebust works for files in the
output path.

* Make output_dir required in search_for_file

* Update docs for file searching logic

* Add test for new file searching behavior
2021-08-19 07:55:40 +02:00
Vincent Prouillet 8802e77880
Update themes gallery (#1589)
Co-authored-by: GitHub Action <action@github.com>
2021-08-18 15:32:46 +02:00
liushuyu c658d171f8
cargo/manifests: allow user to use native-tls if ring is unsupported (#1587)
* cargo/manifests: allow user to use native-tls ...

... if `ring` can't be used on the user's platform (e.g. mips/ppc/riscv)

* CI: test for native tls build
2021-08-18 15:32:34 +02:00
Sam Vente 56dcfecce2
make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
Vincent Prouillet 8b43667a94 Ensure code block contents are always escaped
Closes #1581
2021-08-18 09:05:00 +02:00
Vincent Prouillet 6a39253e29 Unravel errors on full site rebuild in serve
Closes #1398
2021-08-12 09:27:18 +02:00
Vincent Prouillet 88e5c6e167 Update deps 2021-08-12 08:54:55 +02:00
Vincent Prouillet 85f68f87cc Update minify and respect HTML spec 2021-08-09 20:28:17 +02:00
Martin Vilcans 17f3fe2bda HTTP 404 instead of empty response if not found (#1580)
Fixes getzola/zola#1578
2021-08-08 10:29:44 +02:00
Luke Cowell 28c3dac0ab use provided config file path instead of name
fixes a bug which made it impossible to specify a configuration file outside of the root directory.
2021-08-08 10:29:44 +02:00
Vincent Prouillet 9275d932e2 Next version 2021-08-08 10:29:44 +02:00
Vincent Prouillet 3bedb42b0b Fix languages docs
Closes #1567
2021-08-08 10:28:32 +02:00
Enmanuel de la Nuez e2f2f4f779
Briefly explain TOML tables (#1576)
* Briefly explain TOML tables

There's a warning about a possible source of errors, but it doesn't give you the relevant information to actually make sense of it. I hope this saves someone a search since I personally had to find this out reading the TOML spec.

Any other ways to phrase this?

* Update configuration.md
2021-08-03 09:20:34 +02:00
Vincent Prouillet c06ef10a36
Merge pull request #1575 from getzola/create-pull-request/patch-1627914726
Update themes gallery
2021-08-02 19:49:28 +02:00
GitHub Action 8c98d11363 Update themes gallery 2021-08-02 14:32:05 +00:00
Vincent Prouillet 6a3f886f87
Merge pull request #1561 from mscherer/patch-1
Fix uggla blog git repo location
2021-07-27 07:39:38 +02:00
mscherer f38fd707dc
Fix uggla blog git repo location 2021-07-26 19:25:43 +02:00
Vincent Prouillet 0f9638120e
Merge pull request #1557 from coastalwhite/local-devices-sidenote
Added sidenote on serving to local devices
2021-07-22 09:05:51 +02:00
Vincent Prouillet 9d596c3a57
Merge pull request #1554 from herbygillot/patch-1
README: add MacPorts info
2021-07-21 22:44:46 +02:00
Gijs Burghoorn 365b15ccc2 Added sidenote on serving to local devices
[Issue #1556]
2021-07-21 22:18:37 +02:00
Herby Gillot f8d3dabc17
README: add MacPorts info 2021-07-21 07:11:51 -04:00
Vincent Prouillet fa00914db6 Mention paginator.current_index is 1-indexed
Closes #835
2021-07-19 20:56:23 +02:00
Vincent Prouillet baba690702 Update version of zola for docs + version of ubuntu for release 2021-07-19 20:12:41 +02:00
Vincent Prouillet b2354c6cd8
Merge pull request #1293 from getzola/next
Next version
2021-07-19 19:33:23 +02:00
Vincent Prouillet ece6cb9307 Update release date 2021-07-19 19:32:26 +02:00
Vincent Prouillet a5cc4dc462 Update processed images 2021-07-18 14:03:14 +02:00
Vincent Prouillet c0895b62f9 Update deps 2021-07-18 14:03:14 +02:00
Vincent Prouillet b89fc2c274
Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
Vincent Prouillet 8c3ce7d7fb Update changelog 2021-07-10 08:58:51 +02:00
Vincent Prouillet 4a87689cfb Add class based syntax higlighting + line numbers (#1531)
* Add class based syntax higlighting + line numbers

* Use fork of syntect for now

* Fix tests

* Fix diff background on inline highlighter

Co-authored-by: evan-brass <evan-brass@protonmail.com>
2021-07-10 08:53:19 +02:00
Bert JW Regeer 57705aa82e
Add permalink to Taxonomy (#1516)
* Add permalink to Taxonomy

* Document permalink addition to TaxonomyConfig
2021-07-10 08:43:22 +02:00
David Ed Mellum 98b110ba14
Add support for Norwegian search (#1547) 2021-07-07 19:44:10 +02:00
Vojtech Kral 6f22132b8d
imgproc: Don't upscale images in the Fit op, fix a bug in comment in #1542 (#1545)
* imgproc: Don't upscale images in the Fit op, fix  #1542

* imgproc: Remove FIXMEs that have been addressed
2021-07-07 11:15:37 +02:00
Avinash Sonawane 96e28ddd5c
Docs: Fix resize_image and gallery shortcodes (#1543) 2021-07-07 11:08:37 +02:00
Vincent Prouillet ee85300303 Mention load_data only works with utf-8
Closes #1539
2021-06-29 22:24:34 +02:00
Vincent Prouillet 3e1a934604 Fix tests and add note about translations 2021-06-25 10:12:05 +02:00
Vincent Prouillet 06bee578a0 Revert "Exclude self from translation list for page/section"
This reverts commit 0a7692ad85.
2021-06-25 10:09:55 +02:00
Marshall Bowers 93900fb623
Add num_format filter (#1460)
* Add `num_format` filter for displaying formatted numbers

* Register the filter

* Update docs

* Make `locale` argument required

* Revert "Make `locale` argument required"

This reverts commit 9cdbf285915f0257d1b9157572588b0ce6698a44.

* Pull the default locale from the site config

* Add note about defaults to the docs

* Add missing borrow
2021-06-25 10:07:52 +02:00
Vincent Prouillet 0a7692ad85 Exclude self from translation list for page/section
Closes #1410
2021-06-24 23:28:49 +02:00
Vincent Prouillet 545e766818 Allow functions to look into current theme static folder
Closes #1416
2021-06-24 23:12:05 +02:00
Vincent Prouillet 0cd1ea9537 Avoid panic on invalid addr 2021-06-24 22:36:51 +02:00
Vincent Prouillet e62664b4ff Unify {page,section}.assets
Closes #1510
2021-06-24 22:22:50 +02:00