Hello, i’m new to Grav but it looks like a nice CMS for small projects where WordPress is to bloated for. Im familiar with WP howto create widget areas for the Footer for example.
For Grav i couldn’t find information howto do this. I’m using a copy of the Quark theme created with devtools. I think that i need to extend the footer with 3 partial blocks, but i’m looking for some reference. Do you know a theme which has this so i can look at it? Or point me to info for doing this? I’ve used search but couldn’t find anything (yet)…
Thanks!
1 Like
@SjoerdSmeets The Quark theme comes with the template ‘templates/partials/sidebar.html.twig’ which shows a list of plugins which are enabled. You might call that a kind of ‘widget area’…
Got it fixed, didn’t use sidebar, but extended base.html.twig
<section id="footer" class="section bg-gray">
<section class="container {{ grid_size }}">
<div class="columns">
<div class="col-4 col-sm-12 col-md-4">
Column 1
</div>
<div class="col-4 col-sm-12 col-md-4">
Column 2
</div>
<div class="col-4 col-sm-12 col-md-4">
Column 3
</div>
</div>
</section>
</section>```
1 Like