hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 3925ccaf8b9f19e295444cca36aed963674d4e45
parent 2f6cbb81cd233217aaa5bb4a715265d20c4dc189
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 18 Mar 2017 09:13:13 -0400

Put the mindepht to 1.

Diffstat:
Mfunctions/create-html-pages | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/functions/create-html-pages b/functions/create-html-pages @@ -18,7 +18,7 @@ create_html_pages () { [ -d "$TMP_PATH/" ] && rm -R "$TMP_PATH/"* ;; false) - find_noindex_markdown=$(find "$CONTENT_PATH/" -mindepth 2 -type f \( -name "*.md" ! -name "index.md" \) -mtime -100) + find_noindex_markdown=$(find "$CONTENT_PATH/" -mindepth 1 -type f \( -name "*.md" ! -name "index.md" \) -mtime -100) ;; esac