Vincent Prouillet
1c7729cac6
Default lang to config.default_language
5 years ago
Peng Guanwen
0b897ce7c7
Replace trim_{left, right} with trim_{start, end}
trim_{start, end} is introduced in rust 1.30.0 and
trim_{left, right} is deprecated since 1.33.0.
5 years ago
Vincent Prouillet
21d67235ae
Arc-ify Library
5 years ago
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
5 years ago
Nicolas Pochet
b65979fac7
Render the theme template files if present
* Change the behavior of the template rendering:
* Check if the template bare name is present
* Check if the template is part of a theme
* Fallback to defaults
* Change the behavior of the shortcode rendering:
* Call the template rendering function
* Prepend `__zola_builtins/` to most of the default elements in `ZOLA_TERA`
* Add a test to verify the presence and content of a `404.html` page
from a theme's template
5 years ago
Vincent Prouillet
5caf24f06c
Remove error-chain
Closes #576
5 years ago
Vincent Prouillet
538866487b
Add multilingual taxonomies
5 years ago
Vincent Prouillet
19075191ff
Add translations to page/sections
5 years ago
Vincent Prouillet
832360f9b1
Update deps + rustfmt
5 years ago
Vincent Prouillet
a12e9512bc
fmt/clippy
5 years ago
Vojtech Kral
6e84eec32b
imageproc: Add the `format` option, support for PNG thumbnails
Fix #546
5 years ago
Vincent Prouillet
c0bbe16eac
cargo fmt + update
6 years ago
Shotaro Yamada
692103bff4
Remove redundant clone
6 years ago
Vincent Prouillet
7af314c61e
Update deps + fmt
6 years ago
Vincent Prouillet
56af4ca7f9
Add page_template to sections
To override all child pages
Closes #397
Tests from PR #434
6 years ago
Vincent Prouillet
cb3c42078a
Fix load_toml date handling and fix bug in date conversion
6 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
6 years ago
Vincent Prouillet
d524482ac1
Cargo update & some doc tweak
6 years ago
Jake Howard
aad12d829f
Remote data ( #494 )
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Luke Frisken
1baa7750f3
CSV and TOML loading global functions ( #379 )
Local CSV/TOML/JSON loading Tera function
6 years ago
Vincent Prouillet
86c418372f
Add metadata_only to get_section
6 years ago
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
Close #446
Close #260
Close #478
Close #284
Close #480
6 years ago
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
Fix #205
6 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
6 years ago
Vincent Prouillet
10aba20fe5
Slotmap refactor
6 years ago
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
6 years ago
Vincent Prouillet
5fe4590063
Default get_url to not add a trailing slash
Closes #388
6 years ago
Vincent Prouillet
c2b76d1850
Enable markdown extensions for markdown filter
Closes #417
6 years ago
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
6 years ago
Vincent Prouillet
bd6578e71c
Fix failing test
6 years ago
Vincent Prouillet
efddb24b95
We actually need get_taxonomy_url. Also update docs
6 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago
Owen Nelson
8f460dc28b
Custom 404 page now template driven.
Since we are using a builtin template, we can be assured to have the
target file in place. Middleware renamed since it is bound directly to
the concept of handling 404s.
6 years ago
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
6 years ago
Vojtech Kral
6662014e55
Add image resizing support #225
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
b3b2527c5d
TIL about serde default
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
6 years ago
Vincent Prouillet
29ce510aa3
Add inline option of markdown filter
Fix #197
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
6 years ago
Vincent Prouillet
b06f012be4
Fix tests wrt language_code
6 years ago
Baptiste Darthenay
046de8c998
Config with i18n
6 years ago
Vincent Prouillet
bfdc93f948
Cargo update
6 years ago
Vincent Prouillet
129e693521
Add default templates
7 years ago
Vincent Prouillet
cfefb45913
Update to Tera 0.11 beta
7 years ago
Vincent Prouillet
021c99c5f0
Fix tests and add taxonomies to changelog
7 years ago
Vincent Prouillet
322d2f30fb
Add get_taxonomy_url global_fn
And fix bug with taxonomies urls
7 years ago