From 3a3e103ca1b6ccc4cc3056cf99e01cba22aad730 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Tue, 15 Jul 2025 14:22:38 -0400 Subject: [PATCH] More stringent path to files --- portal/src/blogpost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal/src/blogpost.py b/portal/src/blogpost.py index 0f075b0c4..dc40f00cf 100755 --- a/portal/src/blogpost.py +++ b/portal/src/blogpost.py @@ -14,9 +14,9 @@ root = Path(__file__).parent.parent -# Aggregate all posts from the markdown and ipynb files +# Aggregate all posts from the markdown files posts = [] -for ifile in root.rglob("posts/**/*.md"): +for ifile in root.rglob("posts/????/*.md"): if "drafts" in str(ifile): continue