Miguel de Moura
aaa25cee2a
Fix clippy warnings ( #1618 )
...
Fixes clippy warnings for the `needless_borrow` lint.
https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Removes the unused `starts_with_schema` function
(dead code since 4086b075
).
2021-10-02 11:07:04 +02:00
Vincent Prouillet
7a0cf261bf
Update changelog
2021-09-13 21:16:55 +02:00
Vincent Prouillet
2e884e06cb
Remove duplicate call to load syntax/themes
2021-09-13 21:13:51 +02:00
David
23064f57c8
Support custom syntax highlighting themes ( #1499 )
...
Related to #419
Gruvbox tmTheme added to test_site, it is taken from
https://github.com/Colorsublime/Colorsublime-Themes (MIT licensed)
2021-09-13 21:08:48 +02:00
acheronfail
f0b131838f
fix: crash on config change ( #1616 )
2021-09-11 09:31:34 +02:00
acheronfail
b503d5cc86
feat: add required argument to taxonomy functions ( #1598 )
2021-09-04 08:25:03 +02:00
Tim Schumacher
4086b0755a
Support colocating subfolders ( #1582 )
...
* Support colocating subfolders
* Adjust tests
2021-09-04 08:23:03 +02:00
southerntofu
84b75f9725
[feature] Shortcodes and anchor-link.html can access lang context ( #1609 )
...
* Pass lang to shortcodes context
* Add tests for lang in shortcodes
* Lang is passed to anchor-link.html template
* Document passing lang to shortcodes/anchor-link.html
Add a test to make sure lang can be overriden by passing an explicit argument to the shortcode,
for usage in the markdown filter where the language context is not available.
* Update docs for more information on shortcodes+i18n+markdown() filter
Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-09-04 08:10:33 +02:00
Gijs Burghoorn
eceb1bd79d
Added prompt for when zola build output-dir mentions an existing directory. ( #1558 )
...
* Next version
* Added ask prompt for output-dir flag
Added `ask_bool` prompt for `--output-dir` for when the output directory
targeted already exists in the file system.
[Issue: #1378 ]
* Updated the documentation for #1378
* Added missing "sure" in prompt text
* Added timeout to prompt + dirname
* Fixed complication errors
Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2021-09-04 08:10:02 +02:00
Vincent Prouillet
5c428cc141
Merge pull request #1608 from southerntofu/bugfix-default-language
...
[bugfix] config.default_language is exposed to templates
2021-09-01 20:02:18 +02:00
southerntofu
2be1b417d1
config.default_language is exposed to templates
2021-09-01 18:12:35 +02:00
Vincent Prouillet
c1267e8929
Remove number of processed images from logs
...
Closes #1504
2021-08-24 09:55:39 +02:00
Vincent Prouillet
8e40720aca
Next
2021-08-24 09:14:18 +02: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