You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% for block in contentblock %}
<section>
{% contentblock block %}
</section>
{% endfor %}
or even better
# iterate through contenblock of type "sidebar" that are specified in the md file like :
# {% contentfor sidebar %}
# my text for FIRST sidebar block
# {% endcontentfor %}
# {% contentfor sidebar %}
# my text for SECOND sidebar block
# {% endcontentfor %}
{% for block in contentblock sidebar %}
<section>
{% contentblock block %}
</section>
{% endfor %}
It would be very useful for when you need to compose a page passing an md file, and assign types of blocks to the layout.
So one could only edit the text file.
Any possibility to do it ?
The text was updated successfully, but these errors were encountered:
Hello, as it turns out, I think I already came to the same issue as you have, and managed to implement most of this. Unfortunately circumstances changed and because I wasn't very good with git at the time I just backed up the folder occasionally, so afraid I got lost in a big effort to tidy-up my code and it's been shelved for about a year. But I hope to clear out some of my code soon so will try and get the pull request submitted finally!
@rustygeldmacher IDK if I can't seem to assign myself as it's not my repo or just as it's the mobile interface but feel free to do so if you like and I'll reference and close this off once I get the PR through.
I would like to iterate with something like:
or even better
It would be very useful for when you need to compose a page passing an md file, and assign types of blocks to the layout.
So one could only edit the text file.
Any possibility to do it ?
The text was updated successfully, but these errors were encountered: