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

Prototype pages Ruby front matter doesn't support symbols #357

Closed
jaredcwhite opened this issue Aug 3, 2021 · 0 comments · Fixed by #386
Closed

Prototype pages Ruby front matter doesn't support symbols #357

jaredcwhite opened this issue Aug 3, 2021 · 0 comments · Fixed by #386
Labels
bug Something isn't working

Comments

@jaredcwhite
Copy link
Member

You can only use strings when using Ruby front matter, using symbols stops the logic from working. example:

front_matter do
  prototype({
    term: "category",
    collection: "posts"
  })
end

If you use symbols (:category, :posts), it won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant