Skip to content
Grav 2.0 is officially stable. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3134 posts · 12 topics · 1013 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Collection Being Looped Through Twice · 5 years ago

    @cfas, I cannot reproduce the issue. I've: installed theme Bootstrap4, created a folder structure similar to yours and added the frontmatter + code to /pages/02.posts/blog.md The Posts page both s

  • Parallax effect on Quark theme · 5 years ago

    @thebob, I don't think it can be done with the default templates, but there is nothing in the way to create it manually....

  • Parallax effect on Quark theme · 5 years ago

    @thebob, Not sure I understand your question, but when you take a look at /themes/quark/templates/modular.html.twig you'll see at line 48, that any module with template modular/hero will be placed at

  • 16 theme customization - theme-inheritance · 5 years ago

    @thgr, It looks like you forgot step 3 from the docs in which you copy Quark's config from /themes/quark/quark.yaml to the top of /themes/my-theme/my-theme.yaml : enabled: true production-mode: true

  • Transform boolean data to text in Twig Template · 5 years ago

    @pmoreno, If you updated the blueprint as shown above, than theme_config.carousel_options.arrows will have the string value 'true' or 'false'. And non-empty strings always evaluate to true. Hence the

  • Reusing the modules of modular pages · 5 years ago

    @zigpress, Almost right... which should (I think) be in my user/themes/mytheme/modular folder The blueprints go into the ... /user/themes/mytheme/blueprints folder. And yes, the names of the bluepri

  • Reusing the modules of modular pages · 5 years ago

    @zigpress, Based on the following quote I guess you are referring to a block as a layout design and not content. Right? For example the home page might have a 1 col text block with certain content i

  • Transform boolean data to text in Twig Template · 5 years ago

    @pmoreno, To turn a boolean value into a string you could use the following more straightforward solution: arrows: {{ site.header_options.arrows ? 'true' : 'false'}}, To prevent the above required co

  • Theme configuration and customization · 5 years ago

    Hi @guido, When you want to override and customise a theme's template file, you should create an inherited theme and copy the template file into the same template folder of the child theme. For exampl

  • How can i list the content of a directory using grav? · 6 years ago

    @pzul, Where is the directory located in the tree and what are you looking for inside the directory?