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
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
b3b2527c5d
TIL about serde default
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
b06f012be4
Fix tests wrt language_code
6 years ago
Baptiste Darthenay
046de8c998
Config with i18n
6 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
Carson Page
8759323a16
Add trailing_slash opt. to get_url ( #173 )
* Added inital trailing_slash impl
* Added simple test
* Updated docs website to use trailing_slash option
* Updated documentation to reflect new trailing_slash option
* Added combined cachebust and trailing_slash test
7 years ago
Vincent Prouillet
2db7ec4843
Remove deprecated link param of get_url
7 years ago
Vincent Prouillet
dee1dbe667
Working on site
And some tweaks as I write the docs
7 years ago
Vincent Prouillet
f58e416b96
Clippy run
7 years ago
Vincent Prouillet
262ff5ec00
Rewrite theme tera paths and merge theme.toml data
7 years ago
Vincent Prouillet
c77cc9b170
First draft of theme support
7 years ago
Vincent Prouillet
8a11d8e049
Fold get_static_url in get_url
7 years ago