hulk 0.1.9

An ultra simple no hassle static site generator
1
2
3
4
5
6
7
8
9
10
11
12
use crate::app_consts;
pub fn data_to_site_path_from_string(data_path:&String)->String{
    
    let dest = data_path
    .replacen(
        app_consts::HULK_DATA_DIR,
         app_consts::HULK_SITE_DIR,
          1);

    let d = dest.replace("./","");
            d
}