Vincent Prouillet
dc4904dd5f
Update escaping with latest version of Tera
5 years ago
Vincent Prouillet
35138468ac
Urlencode urls in xml templates
5 years ago
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
5 years ago
Cliff L. Biffle
eba9726d07
Add XML declaration to XML templates.
Without this, at least one search engine spider was generating a
validation warning.
5 years ago
Vincent Prouillet
cb962f7a64
Add aliases to sections
5 years ago
Stuart Small
12d2576fba
Fix for #632 - add ability to get asset image dimensions ( #670 )
5 years ago
Vincent Prouillet
fae644cffe
Update pulldown_cmark
Close #693
5 years ago
Vincent Prouillet
ec61a57841
Use @/ for internal links rather than ./
Close #686
5 years ago
Vincent Prouillet
603906de85
Add a test for local time in TOML
5 years ago
sebastien
c2f682ede6
specify proper sitemap schema
5 years ago
Vincent Prouillet
97e796a724
More tests for load_data
5 years ago
Vincent Prouillet
e00cd3e1b0
Always default to plain for load_data on unknown extensions
5 years ago
Vincent Prouillet
c63b7fde44
load_data now defaults to plain type + fix bug with get_taxonomy fn
5 years ago
Vincent Prouillet
9beaa26023
Add link to sitemap to robots.txt
5 years ago
Vincent Prouillet
7baf08cef2
Update docs for sitemap
5 years ago
Sébastien Mariaux
2a0d0b9b77
Split sitemap ( #619 )
Split sitemap when it is getting too big
5 years ago
Vincent Prouillet
135dc5d5bc
Change default directory for load_data
5 years ago
Vincent Prouillet
9bc675f2a7
Fix colocated dates + rustfmt
Closes #607
5 years ago
Matthew Ziter
844be88472
Handle csv parsing error to fix issue getzola/zola#588
5 years ago
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