edited generate_live to allow for landing pages per folder
This commit is contained in:
parent
e6ca16adaa
commit
e3cd46c043
@ -8,8 +8,11 @@
|
|||||||
$output_language = $b[0];
|
$output_language = $b[0];
|
||||||
}
|
}
|
||||||
$file = clean_url_to_file($page);
|
$file = clean_url_to_file($page);
|
||||||
if (!is_file($file)) $file = FALSE;
|
if (!is_file($file)) {
|
||||||
return generate_page($file);
|
$index = clean_url_to_file($page . "index.md");
|
||||||
|
$file = FALSE;
|
||||||
|
}
|
||||||
|
return generate_page($file, $index);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clean Live Url
|
// Clean Live Url
|
||||||
|
Loading…
Reference in New Issue
Block a user