Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Vadym Member
@b.da · Joined 4 years ago · 90 posts · 0 topics · 26 reputation
Badges
Recent posts
-
Uri.params not working in frontmatter?
· 4 years ago
to prevent Google from indexing pages that contain uri.params, add to the head block {% if uri.params is not empty %} <meta name="robots" content="noindex"> {% endif %} for multilingual site
-
Uri.params not working in frontmatter?
· 4 years ago
So, i decided to modify blog template (which leaves all the benefits, like Blog Config tab, pagination, breadcrumbs controls). Anyway you will get the idea. copy from Quark blog.html.twig file (quark
-
Uri.params not working in frontmatter?
· 4 years ago
@RastislavKish you are close, but indeed, it's better create custom page template or modify existing one (or create a plugin), instead of trying to put your code in the page file. just a few questions
-
Uri.params not working in frontmatter?
· 4 years ago
Hi, @RastislavKish, have you made any progress? I think it's better if you describe the complete scenario you want to achieve and where you are now, with a code example.
-
Assets manager add Swiper css and js files
· 4 years ago
what does your base template look like, in a part of asset blocks?
-
[quark] mobile menu as the modular page menu
· 4 years ago
try this in your inheritance theme in templates folder create a folder named partials (if it doesn't already exists) then copy from Quark file navigation.html.twig and replace code with <ul {{ tree
-
Avoid extra paragraph and possibility to add classes to page.content
· 4 years ago
Hi @pmoreno how about using a custom theme variable? otherwise what you can try 1.use striptags twig filter <p class="excerpt"> {{ page.content|striptags|raw }} </p> or disable markdo
-
Avif support in Grav
· 4 years ago
Hi @pmoreno, it seems not (grav use Gregwar's Image PHP library to handle images, and it doesn't support AVIF) there was already similar question without a solution, but webp format works fine, if tha
-
Error with assets deferred
· 4 years ago
in short, in your approach just use assets.addCss not assets.addLink like in Clean Blog theme example {% do assets.addCss('https://fonts.googleapis.com/css?family=Lora:400,400i,700') %}
-
Section id in modular pages
· 4 years ago
Hi, if you're asking about anchor link IDs, take a look at the modular page template, you will also see how a modular page is build. Specifically, line 50 for hero block ID (line 32 for nav part), and