Sam Ford
0c93e15b1f
Update tokio and re-enable check_site test ( #915 )
The issue with the check_site test hanging and timing out seems to
be related to a similar reqwest issue, which was ultimately due to
an upstream bug in tokio and may be fixed in tokio 0.2.7 onward.
4 years ago
Vincent Prouillet
44a07a4a55
Disable check_site test for now
4 years ago
Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
5 years ago
Stan Rozenraukh
a89b30073c
Section extra -> SitemapEntry ( #850 )
5 years ago
Tjeu Kayim
75570d041a
Skip link checking for URL with prefix in config ( #846 )
5 years ago
Laurent Arnoud
aaaed31f9c
Add title and body to alias page ( #830 )
5 years ago
Jochen Kupperschmidt
587d7396b3
Properly escape `&` in injected live-reload script tag ( #825 )
"[…] `&` normally indicates the start of a character entity reference or
numeric character reference; writing it as `&` […] allows `&` to be
included in the content of an element or in the value of an attribute."
From: https://en.wikipedia.org/wiki/HTML#Character_and_entity_references
5 years ago
Tjeu Kayim
6149fd17e1
Skip anchor checking for URL with prefix in config ( #812 )
* cargo fmt & clippy
* Skip anchor checking for URL with prefix in config
5 years ago
Bob
9db9fc8fb2
Fix the issue of generating the search index for multiple language ( #794 )
* fix the issue of generating the search index for multiple language
* updat docs for generating the search index for multiple language
* fix failed tests
* add tests for the search index of multiple language
5 years ago
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
5 years ago
Vincent Prouillet
7f459940e1
Allow multiple taxonomies with same name in different language
Closes #766
5 years ago
Vincent Prouillet
0199017d07
Slugify given slugs as well
5 years ago
Pyry Kovanen
4b43b75d22
Allow ignored_content to support markdown files ( #759 )
* Allow ignored_content to support markdown files
* Add test for markdown supported ignored_content
5 years ago
Vincent Prouillet
0e4e0c35b3
Remove all draft specific code
5 years ago
Vincent Prouillet
d2a62153d7
Do not load draft pages
Part fix of #742
5 years ago
Vincent Prouillet
35138468ac
Urlencode urls in xml templates
5 years ago
Vincent Prouillet
cb962f7a64
Add aliases to sections
5 years ago
Vincent Prouillet
9bc675f2a7
Fix colocated dates + rustfmt
Closes #607
5 years ago
Vincent Prouillet
97d11995c5
Skip render=false sections in sitemap
Fix #604
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
7c260eb5b2
Fix multilingual tests
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
538866487b
Add multilingual taxonomies
5 years ago
Vincent Prouillet
f45293ab25
cargo fmt
5 years ago
Vincent Prouillet
19075191ff
Add translations to page/sections
5 years ago
Vincent Prouillet
3d22b4f1f9
Generate per language RSS feed
5 years ago
Vincent Prouillet
a12e9512bc
fmt/clippy
5 years ago
Vincent Prouillet
7313b41f4d
Start adding some tests for building multilingual sites
5 years ago
Vincent Prouillet
1d06324a65
Load multi-languages pages/sections
5 years ago
Vincent Prouillet
0cf8e8ca1c
Fix pagers not being in sitemap
Closes #521
6 years ago
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
Closes #533
6 years ago
Vincent Prouillet
aee41f279c
Fix reload with taxonomies
6 years ago
Vincent Prouillet
7af314c61e
Update deps + fmt
6 years ago
Vincent Prouillet
20a05da475
Fix bug with pages starting with dates
6 years ago
Vincent Prouillet
59f3e54e4e
Add test for nested page_template
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
a3b0f1e103
Add transparent sections
Closes #413
Closes #408
6 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
6 years ago
Vincent Prouillet
19b4341957
Fix test
6 years ago
Magnus Hovland Hoff
05b8bb4ac6
Ensure root output directory exists explicitly.
Aliases that have no directory nesting sneakily avoid the code path that ensures the directories exist
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Vincent Prouillet
83b04a561c
Expose relative path of pages & sections
Closes #485
6 years ago
Vincent Prouillet
957c6bed9d
Have a list of ancestors instead of only parent 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
Greizgh
fec58054b4
Inject config in robots.txt context
This allow to use base_url in robots.txt, to reference a sitemap for
example.
6 years ago
Vincent Prouillet
2cf99c3cfc
Fix robots.txt template for real this time
6 years ago
Vincent Prouillet
a11f8232de
Fix robots.txt not being loaded in Tera
Closes #443
6 years ago