mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Re-order static folder
Static content is global and not per user base.
This commit is contained in:
parent
7d27b76cb1
commit
9f1ca1556a
3 changed files with 3 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ function get_spage_names(){
|
||||||
if(empty($_cache)){
|
if(empty($_cache)){
|
||||||
|
|
||||||
// Get the names of all the
|
// Get the names of all the
|
||||||
// static page (newest first):
|
// static page.
|
||||||
|
|
||||||
$_cache = glob('content/*/static/*.md', GLOB_NOSORT);
|
$_cache = glob('content/static/*.md', GLOB_NOSORT);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $_cache;
|
return $_cache;
|
||||||
|
|
@ -47,7 +47,7 @@ function get_author_names(){
|
||||||
if(empty($_cache)){
|
if(empty($_cache)){
|
||||||
|
|
||||||
// Get the names of all the
|
// Get the names of all the
|
||||||
// author:
|
// author.
|
||||||
|
|
||||||
$_cache = glob('content/*/author.md', GLOB_NOSORT);
|
$_cache = glob('content/*/author.md', GLOB_NOSORT);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue