hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit ca3d4cfe980f8a2d59d3ae19263e49843ac64ed2
parent ee772366f994c917ea557bc02ee44b3bd83f431f
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun,  3 Oct 2021 19:25:24 -0400

Change a condition

Diffstat:
Mbin/utils/file.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/utils/file.lua b/bin/utils/file.lua @@ -118,7 +118,7 @@ function file.get_collection(filepath, dirname) for subfilepath in dirtree.get(file.get_dirname(filepath)) do if subfilepath - and file.is_markdown(subfilepath) + and (file.is_markdown(subfilepath) or file.is_html(subfilepath)) and not file.is_index(subfilepath) then collection[#collection+1] = file.get_relpath(subfilepath, dirname)