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

Slug must be first in yaml when using links / InvalidURIError #40

Open
espen opened this issue Jan 8, 2021 · 1 comment
Open

Slug must be first in yaml when using links / InvalidURIError #40

espen opened this issue Jan 8, 2021 · 1 comment

Comments

@espen
Copy link

espen commented Jan 8, 2021

Posting here because I am unable to replicate this issue using just using yaml in a page with pure Jekyll.

The following works:

api:
  slug: api
  info: 'Try out <a href="https://example.org">the docs</a>'

While this gives error:

api:
  info: 'Try out <a href="https://example.org">the docs</a>'
  slug: api

The error is Invalid scheme format: *text* <a href="https (Addressable::URI::InvalidURIError).

Is there perhaps something with how this plugin parses the yaml that could result in this?

@espen
Copy link
Author

espen commented Mar 15, 2021

Probably not the best solution but sorting the hash fixes it for me: espen@bc90abc

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