Skip to content

Commit 1985dbe

Browse files
authored
More stringent path to files (#546)
1 parent f632122 commit 1985dbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

portal/src/blogpost.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
root = Path(__file__).parent.parent
1616

17-
# Aggregate all posts from the markdown and ipynb files
17+
# Aggregate all posts from the markdown files
1818
posts = []
19-
for ifile in root.rglob("posts/**/*.md"):
19+
for ifile in root.rglob("posts/????/*.md"):
2020
if "drafts" in str(ifile):
2121
continue
2222

0 commit comments

Comments
 (0)