We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current way the index is done is slightly odd, setting two variables that the include relies on:
songbook/pages/index.njk
Lines 12 to 14 in 0412aca
This feels like it might be an ideal place for to use eleventy shortcodes https://www.11ty.io/docs/shortcodes/
The other option would be to set an indexKey property or similar when creating the collections:
indexKey
songbook/.eleventy.js
Lines 82 to 85 in 0412aca
This would at least skip the second magic variable.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current way the index is done is slightly odd, setting two variables that the include relies on:
songbook/pages/index.njk
Lines 12 to 14 in 0412aca
This feels like it might be an ideal place for to use eleventy shortcodes https://www.11ty.io/docs/shortcodes/
The other option would be to set an
indexKey
property or similar when creating the collections:songbook/.eleventy.js
Lines 82 to 85 in 0412aca
(similar to the way we set songNumber when iterating over all songs).
This would at least skip the second magic variable.
The text was updated successfully, but these errors were encountered: