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.
2 parents f384d37 + 393439e commit 0dbaf4eCopy full SHA for 0dbaf4e
markdown_frontmatter_cleanup.py
@@ -38,8 +38,8 @@ def clean_tags(frontmatter: dict) -> dict:
38
return frontmatter
39
40
def clean_keywords(frontmatter: dict) -> dict:
41
- # Ensure the 'tags' key has unique elements, capitalizing the first letter
42
- if 'keywords' in frontmatter and isinstance(frontmatter['tags'], list):
+ # Ensure the 'keywords' key has unique elements, capitalizing the first letter
+ if 'keywords' in frontmatter and isinstance(frontmatter['keywords'], list):
43
# Normalize by capitalizing the first letter of each tag and removing duplicates (case-insensitive)
44
unique_tags = set() # To ensure uniqueness
45
cleaned_tags = []
0 commit comments