diff --git a/portal/posts/blog.md b/portal/blog.md similarity index 100% rename from portal/posts/blog.md rename to portal/blog.md diff --git a/portal/myst.yml b/portal/myst.yml index 8a1b0846e..6fc99e937 100644 --- a/portal/myst.yml +++ b/portal/myst.yml @@ -13,7 +13,7 @@ project: toc: - file: index.md - file: about.md - - file: posts/blog.md + - file: blog.md children: - title: "2025" children: 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