zdenek-crha
5aadd3d4f2
Fix crash of trans() function called on absent translation key ( #793 )
Add method get_translation(lang, key) into Config struct that retrieves
translated term from parsed configuration or error when either
desired language or key is missing.
Use the new method in Trans struct implementing global Tera function
trans().
Add unit test to cover both happy and error path for translation
retrieval in both config and templates crate.
5 years ago
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
5 years ago
Vincent Prouillet
6a7e955ab0
Add lang to get_taxonomy & get_taxonomy_url
5 years ago
Vincent Prouillet
99abbb87a1
Set up CI with Azure Pipelines ( #750 )
* Set up CI with Azure Pipelines
[skip ci]
* Remove other CI + remove newline in anchor link tpl
* Some more Windows specific changes
5 years ago
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
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
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
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
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
Vincent Prouillet
21d67235ae
Arc-ify Library
5 years ago
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
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
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