Tholp's bespoke website generator

Add "do not edit" disclaimer to generated html

+5 -1
+5 -1
src/main.rs
··· 355 355 356 356 fn write_file(file_skidout: &PathBuf, file_out: &PathBuf, convert_html: bool, tokens: &[Token]) { 357 357 //println!("{:?}", tokens); 358 - let mut skid_output: String = "".to_string(); 358 + let mut skid_output: String = if convert_html { 359 + "<!-- Generated by Skidmark, Do Not Edit! -->\n\n".into() 360 + } else { 361 + "".into() 362 + }; 359 363 for t in tokens { 360 364 skid_output.push(t.contents); 361 365 }