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.
2020-02-02 17:48:43 -08:00
Stan Rozenraukh
a89b30073c
Section extra -> SitemapEntry ( #850 )
2020-02-02 17:48:42 -08:00
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
2020-02-02 17:44:38 -08:00
Vincent Prouillet
e231818718
Add back subsections in basic section ser
...
Closes #733
2019-08-10 19:21:55 +02:00
Vincent Prouillet
84f10f6b69
Use platform separator for shortcodes paths
2019-02-16 16:32:11 +01:00
Vincent Prouillet
705a30aa8d
Move toc to be a rendering page/section variable level
2019-02-09 20:49:18 +01:00
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
2019-01-29 19:20:11 +01:00
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
2019-01-21 17:55:05 +01:00
Vincent Prouillet
f45293ab25
cargo fmt
2019-01-04 20:34:28 +01:00
Vincent Prouillet
19075191ff
Add translations to page/sections
2019-01-04 20:31:31 +01:00
Vincent Prouillet
779511ae43
Pass down lang and start docs
2018-12-28 13:24:49 +01:00
Vincent Prouillet
b7ce4e59fb
rustfmt
2018-10-31 08:18:57 +01:00
Vincent Prouillet
0f6c0736cb
Serialize page/section assets only once
2018-10-24 11:49:09 +02:00
Vincent Prouillet
4e3d231ca9
Small refactor for serialized page/sections
2018-10-24 11:40:57 +02:00