pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
Transform boolean data to text in Twig Template
· 6 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
· 6 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
· 6 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
· 6 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
· 6 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?
-
Embedding youtube video?
· 6 years ago
@samemiki, What happened "around 3 weeks ago"? Any upgrade, new plugin, clearing cache, anything you can think of, ...?
-
How to add a blog's category list in sidebar of theme Future
· 6 years ago
@sebawrite, Just had a quick look... Theme Gateway does provide the template blog.html.twig so you should be good.
-
How to add a blog's category list in sidebar of theme Future
· 6 years ago
@sebawrite, You mentioned above that you tried skeleton 'Blog Site'. The skeleton came with demo pages like /01.home/blog.md. This page requires the template blog.html.twig which comes with Quark (and
-
Question on calling body_classes in Twig
· 6 years ago
@tom0360, Uhh not sure if I understand what you are saying... Has your problem been fixed or not? If it has been fixed. please tick the 'solution' checkbox. Yes, that's the one next to the 'thank you'