Sam Ford
d7bad732f1
Update reqwest to v0.10 ( #892 )
4 years ago
Sam Ford
11f7a6d114
Mock HTTP requests in tests ( #898 )
Certain tests involving HTTP requests were sometimes hanging
indefinitely, so this uses Mockito for HTTP mocking. This seemingly
resolves the issue and makes these tests more reliable.
The existing can_fail_404_links test has been renamed to
can_fail_unresolved_links, to represent what actually occurs in the
test. The can_fail_404_links test now deals with a proper 404
response.
Just to be clear, the check_site test in the site component will
still create outgoing HTTP requests (due to the URLs used in the
test_site), so this commit only uses HTTP mocking where possible.
5 years ago
Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
5 years ago
Vincent Prouillet
8e3f1f59f6
Update Tera
5 years ago
Vincent Prouillet
d624f7ec8b
Update base64
5 years ago
Vincent Prouillet
243702e2c2
Update tera
5 years ago
Marcus Klaas de Vries
4fd5d3f348
Bump pulldown_cmark to version 0.6.0 ( #797 )
* Bump pulldown_cmark to version 0.6.0
* Rename headers to headings
5 years ago
Vincent Prouillet
e74dab535d
Update deps & re-render on anchor-link.html changes
Closes #719
5 years ago
Vincent Prouillet
df720a5baf
Update deps
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
1e2dd9ce03
Update tera to v1 alpha
5 years ago
Vincent Prouillet
5caf24f06c
Remove error-chain
Closes #576
5 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
d524482ac1
Cargo update & some doc tweak
6 years ago
Jake Howard
aad12d829f
Remote data ( #494 )
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
10aba20fe5
Slotmap refactor
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
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
6 years ago
Vincent Prouillet
bfdc93f948
Cargo update
7 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
322d2f30fb
Add get_taxonomy_url global_fn
And fix bug with taxonomies urls
7 years ago
Vincent Prouillet
97d5561569
Next version will be 0.2.0
7 years ago
Vincent Prouillet
fc63765ee1
Add a get_static_url global fn
Fix #108
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago