pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3197 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
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'
-
Question on calling body_classes in Twig
· 6 years ago
@tom0360, Maybe I'm just confused, but you show the Gantry template to be: {% for module in page.collection() %} <div id="{{ macro.pageLinkName(module.menu) }}"> {{ module.content|raw }}
-
How to insert one page into another?
· 6 years ago
I would like to note, that creating a layout inside the Markdown of a page is not considered a good practice. The structure and layout of a page should be taken care of in the template and css. Also t
-
How to add a blog's category list in sidebar of theme Future
· 6 years ago
Please be aware that a few practices mentioned in this thread are considered bad practice and discouraged to use: Using <table> for webpage layout: A <table> is designed for tabular data