[fix] include page description

This commit is contained in:
hkau 2024-02-04 23:35:45 -05:00
parent 253e7a7122
commit d64f0c8f6b
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ fn read_dir(dir: String, config: Config, create_structure: bool) -> () {
let mut replacements: HashMap<String, &str> = HashMap::new();
replacements.insert(String::from("site_name"), &config.site_name);
replacements.insert(String::from("page_title"), &without_ext);
replacements.insert(String::from("page_description"), &file_name);
replacements.insert(String::from("rendered"), &html_out);
replacements.insert(String::from("sidebar"), &file_link_list);