Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3198 posts · 17 topics · 1020 reputation

Badges

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

Recent posts

  • Hyphenise tags which contain spaces · 6 years ago

    @brigaill, Try the following: // default.md taxonomy: tag: [a, b, hyphenate me, c] // Twig {% set tags = [] %} {# Step 1: Hyphenise each tag and add to array of tags #} {% for tag in page.taxonom

  • WebP images do not show up · 6 years ago

    @luap, I cannot reproduce your issue using Grav 1.7.5 + Quark. Used your code snippet in default.html.twig and picture elements are being generated for both .jpg and .webp images. Does {{ dump(p.med

  • Clarification about image caching · 6 years ago

    @marcocevoli, Yes, it's contradictory, but the HTML code is inline with my expectation. It shows a path from cache:

  • Clarification about image caching · 6 years ago

    @marcocevoli, The docs do indeed seem to be confusing... In my interpretation, the function image.cache should do what its name implies: Use the cache. Let's do a test: // system.yaml images: defa

  • Spaces between tags except at beginning nor end · 6 years ago

    @brigaill, Try the following: {% set filter = p.taxonomy.tag|join(' ') %} <li data-filter="{{ filter }}">

  • Wide Open Windows Webdesign · 6 years ago

    @TonHaarmans, You could use Responsive Images (MDN) which allows browsers to load different image sizes depending on size of viewport of device: Large image for desktop, small image for mobile. Grav h

  • Environment Configuration unclear documentation · 6 years ago

    @rkvdmeer, Ah, that's quite a bit of info that would have been valuable in the initial post... ;-) Anyway, I have no experience with Multi-Site setup and considering the warnings in the docs, it would

  • Still struggling to get Grav to work: 0 - syntax error, unexpected token "match" · 6 years ago

    @phproberto, I think you have indeed pinpointed the issue, but... I'm not sure your proposed solution is the best way to go. It appears that skeleton Landio and others are installed with Grav 1.6.28 a

  • Move collection definition from page.header to config file · 6 years ago

    @mkukulka, What means: it doesn’t work. My example shows the snippet in 'user/themes/quark/templates/default.html.twig' and works fine.

  • Simplesearch routing problem · 6 years ago

    @dan-james, I think it's better to log the issue at: https://github.com/getgrav/grav-premium-issues/issues