Skip to content

fix: allowing multiple tags in title and frontmatter when overwrite is true - #46

Open
z0rzi wants to merge 1 commit into
HyeonseoNam:mainfrom
z0rzi:main
Open

fix: allowing multiple tags in title and frontmatter when overwrite is true#46
z0rzi wants to merge 1 commit into
HyeonseoNam:mainfrom
z0rzi:main

Conversation

@z0rzi

@z0rzi z0rzi commented May 26, 2026

Copy link
Copy Markdown

Previously, when overwrite = true, the code was doing something like:

for (const tag of tags) {
  remove old content
  set content = tag
}

Which resulted in only the last tag being added to the title or frontmatter

Now, the looping is handled internally in the frontmatter and title functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant