mirror of
https://github.com/getzola/zola
synced 2024-12-14 06:12:27 +00:00
80bcc51fd2
* 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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |