Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jekyll: providing "tags" and "categories" frontmatter as YAML list is not supported #512

Closed
markstos opened this issue Jun 6, 2022 · 0 comments

Comments

@markstos
Copy link
Contributor

markstos commented Jun 6, 2022

The Jekyll docs say that the tags and categories frontmatter can either be "space separated strings" or a YAML list [1].

The Jekyll importer currently supports space-separated strings, but if given a YAML list, will crash with one of these errors:

  TypeError: frontmatterAttributes.tags.split is not a function
  TypeError: frontmatterAttributes.categories.split is not a function
  1. https://jekyllrb.com/docs/front-matter/

The fix is straightforward. I'll work on it.

@markstos markstos changed the title Jekyll: providing "tags" frontmatter as YAML list is not supported Jekyll: providing "tags" and "categories" frontmatter as YAML list is not supported Jun 7, 2022
markstos added a commit to markstos/migrate that referenced this issue Jun 7, 2022
markstos added a commit to markstos/migrate that referenced this issue Jun 7, 2022
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

No branches or pull requests

1 participant