We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c632213 commit 9a1f118Copy full SHA for 9a1f118
til_2_11ty.py
@@ -38,7 +38,7 @@ def parse_article(content, category):
38
post = {
39
"date": datetime.strptime(content[pos1+9:pos2].strip(), "%Y-%m-%d"),
40
"category": category,
41
- "tags": [t[1:] for t in content[pos2+9:pos3].strip().split(' ')],
+ "tags": [t.strip('#') for t in content[pos2+9:pos3].strip().split(' ')],
42
"content": content[pos5:].strip(),
43
"title": content[pos4+3:pos5].strip(),
44
}
0 commit comments