Commit graph

1672 commits

Author SHA1 Message Date
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
Vincent Prouillet 8e9b779fc6 Mention lang for get_taxonomy
Closes #1517
2021-06-24 22:03:33 +02:00
Vincent Prouillet c49d62cd1e Update deps 2021-06-24 21:59:41 +02:00
Vincent Prouillet 1e6768b18d Remove search index for themes 2021-06-24 08:37:25 +02:00
Vincent Prouillet a8acf2cab7 Cache get_image_metadata result 2021-06-14 20:06:57 +02:00
Matt Ronchetto 312ffcb04c
chore: update Vercel documentation (#1527)
This brings in the proper and latest method to use Zola with Vercel.
2021-06-14 09:42:05 +02:00
Vincent Prouillet c0a0df4fe9 Update resize_image docs 2021-06-11 23:39:48 +02:00
Vincent Prouillet 1bf5cd7bf8 Update docs + sandbox files 2021-06-11 21:14:45 +02:00
Vincent Prouillet 0975b674c5 Hash imageproc on unified path 2021-06-10 10:26:12 +02:00
Vincent Prouillet 38ddb1c4d1 cargo fmt 2021-06-10 10:26:12 +02:00
Vojtech Kral 9145af6b3e imageproc things for paths refactor (#1484)
* Move image loading code used by get_image_metadata from templates to imageproc

* resize_image: Compute image resize op beforehand and return metadata to caller

* get_image_metdata: Use a serializable response struct

* imageproc: Add integration tests

* imageproc: Assume webp is lossy

* get_image_metadata: Use webp crate for decoding WebP, image is still not very good at it

* imageproc: Test read_image_dimensions in integration tests

* imageproc: Rename read_image_dimensions() as read_image_metadata()

* imageproc: Fix a regression in hash computation

* imageproc: Don't hardcode hashes in integration tests, pattern match them instead

* imageproc: Style fixes

* imageproc: Fix integration tests on Windows (hopefully)
2021-06-10 10:26:12 +02:00
Vincent Prouillet 009d105210 Automatically trim / on Tera fn calls dealing with files 2021-06-10 10:26:12 +02:00
Vincent Prouillet ae916eb6c5 Some more tweaks 2021-06-10 10:26:12 +02:00