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
2e126b3a08
Fix race condition with language folder creation
5 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
8586bc1838
Some clippy fixes
6 years ago
Jake Howard
aad12d829f
Remote data ( #494 )
6 years ago
Vincent Prouillet
a0da580f87
Do not error on files starting with utf-8 BOM
Close #501
6 years ago
Vincent Prouillet
4c9fd0d302
Do not panic if something is already bound to 1111 in serve
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
cdcebaea26
Cleanup of slotmap impl
Fix #205
6 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
6 years ago
Vincent Prouillet
367f58b0a3
Fix loading html files in themes outside of templates
Fix #412
6 years ago
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
6 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago
Vojtech Kral
6662014e55
Add image resizing support #225
6 years ago
Vincent Prouillet
28641fc223
Add HTML aliases to changelog
6 years ago
Clar Charr
da3b0fcf0e
Use proper Unicode word count; fixes #304
6 years ago
Vincent Prouillet
b892c07ed3
Don't hardcode the ws port
Closes #282
6 years ago
Vincent Prouillet
3e6054a9ac
tempdir -> tempfile
6 years ago
Vincent Prouillet
d9dbf4d567
Fix internal links to content dir not working
Closes #275
6 years ago
Vincent Prouillet
9c0dd95bdb
Fix theme shortcode not being useable
Closes #272
6 years ago
Vincent Prouillet
f1abbd0860
Move copy utils to utils crate
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
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
262ff5ec00
Rewrite theme tera paths and merge theme.toml data
7 years ago
Vincent Prouillet
521b9755f8
Remove local crates Cargo.lock
7 years ago
Vincent Prouillet
c77cc9b170
First draft of theme support
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago