From f63212274ad6d4c1f3a9978426761752e360e89a Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 15 Jul 2025 12:17:38 -0600 Subject: [PATCH 1/2] move blog (#545) --- portal/{posts => }/blog.md | 0 portal/myst.yml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename portal/{posts => }/blog.md (100%) 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: From 1985dbe300add8dc4ede900f4f2f6226836b16d3 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Tue, 15 Jul 2025 14:45:16 -0400 Subject: [PATCH 2/2] More stringent path to files (#546) --- 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