zola/docs/content/documentation
SumDonkuS 80bcc51fd2 Issue 2359 get section by lang (#2410)
* adding optional `lang` arugment to `get_section` global function

* Add handling of default language passed in `lang` argument of `get_section`

* Remove clones for path.  Change "?" to an explicit check for error

* lint changes

* Clean up error handling for add_lang_to_path call

* fix format

* Add optional parameter "lang" to get_page template function.  Add check for language available in config.

* Modify helper function name from calculate_path to get_path_with_lang.  Modify documentation for get_section and get_page to include equivalent calls without using lang argument to demostrate how lang argument effects pathing.
2024-06-20 23:15:24 +02:00
..
content Added documentation about relative image resizing and scaling of high-res (#2096) 2024-06-15 23:08:40 +02:00
deployment Fix cloudflare pages asdf workaround (#2500) 2024-05-17 13:28:34 +02:00
getting-started Add option to include date in search index (#2401) 2024-06-20 23:15:24 +02:00
templates Issue 2359 get section by lang (#2410) 2024-06-20 23:15:24 +02:00
themes docs: update links to new Tera docs URL (#2289) 2023-08-31 14:32:36 +02:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00