Philipp Oppermann
72373bea9b
Add path to `TranslatedContent` ( #863 )
* Add path to `TranslatedContent`
This makes it possible to retrieve the translated page through the `get_page` function.
* Use TranslatedContent::path field in test_site_i18n
Use it with the `get_page` function to get a reference to the page object.
4 years ago
Stan Rozenraukh
a89b30073c
Section extra -> SitemapEntry ( #850 )
4 years ago
Bob
4aa2ba84fc
Let toc is visable through Page & Section variables in templates ( #818 )
* Let toc is visable through Page & Section variables in templates
* Removed the current toc variable from page & section
4 years ago
Vincent Prouillet
e231818718
Add back subsections in basic section ser
Closes #733
4 years ago
Vincent Prouillet
84f10f6b69
Use platform separator for shortcodes paths
5 years ago
Vincent Prouillet
705a30aa8d
Move toc to be a rendering page/section variable level
5 years ago
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
5 years ago
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
5 years ago
Vincent Prouillet
f45293ab25
cargo fmt
5 years ago
Vincent Prouillet
19075191ff
Add translations to page/sections
5 years ago
Vincent Prouillet
779511ae43
Pass down lang and start docs
5 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
5 years ago
Vincent Prouillet
0f6c0736cb
Serialize page/section assets only once
5 years ago
Vincent Prouillet
4e3d231ca9
Small refactor for serialized page/sections
5 years ago