maybe this topic can be for Grav-learners like me.
Since two days ago I play with Grav and it is exciting!
I have done the “Theme Tutorial” and have a (for now default) page with 3 elements which I put in a Bootstrap-grid with inline HTML.
Could you please tell me if this is the best practice?
There are no hard-and-fast rules in Grav about how you must do things, you really need to experiment with it based on how you want things to look, and how you prefer to manage your content.
I prefer to keep layout-things in the theme’s twig templates as much as possible. If there’s more complex layouts required you should look at modular-pages as a possible solution by breaking up a single page into multiple modular elements.
You can also make use of the page-inject plugin to inject other pages into a page, this way you can reuse common page elements in other pages.
My least favorite option is putting HTML into the markdown files themselves. This makes things harder to maintain over time, and just seems hackish
You could put some kind of divider in the content, then split the content into an array based on that divider, then loop over those items in the array. I’ve done something similar in the lightslider plugin.
Well, delete it and see if it has the effect you desire. I mean, not sure what theme that’s from, and what you are trying to do, but it will undoubtedly ‘break’ the width restriction.