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

Examples in Readme use incorrect syntax #7

Closed
piotrpog opened this issue Jun 13, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@piotrpog
Copy link

commented Jun 13, 2019

Instead this:
{% upcomingEvents | supersort('sortAs', '{eventDates.first.date}') %}
It should be this:
{% set upcomingEvents = upcomingEvents | supersort('sortAs', '{eventDates.first.date}') %}
This error occurs also with other examples.

@michaelrog michaelrog changed the title Documentation error Examples in Readme use incorrect syntax Jun 13, 2019

@michaelrog michaelrog added the docs label Jun 13, 2019

@michaelrog

This comment has been minimized.

Copy link
Member

commented Jun 13, 2019

Thanks for pointing this out, @piotrpog! Would you care to PR a correction?

@piotrpog

This comment has been minimized.

Copy link
Author

commented Jun 17, 2019

Sure, why not :)

@michaelrog

This comment has been minimized.

Copy link
Member

commented Jun 17, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.