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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Niko Kaindl Member

@NEA · Joined 8 years ago · 10 posts · 6 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Split content by regex and extract H2 · 5 years ago

    I solved it. I had to add preg_match_all (matchall) as custom filter. The other part was possible with regex_replace and split: {% for item in page.content|matchall('~(?<=<h2>)(.*?)(?=<\/

  • Split content by regex and extract H2 · 5 years ago

    Is it possible to extract H2 Headline from {{ page.content }} ? Something like: {% for tabtitle = regex_filter(page.content, "/(?<=<h2>)(.*?)(?=</h2>)/") %} {{ tabtitle }} {% endfor

  • Advanced page cache + minify · 6 years ago

    It seems that the Minify Plugin does not work, if the Advanced page cache plugin is activated. Is there any possibility, to make both plugins work at the same time? Meaning First minify the page html

  • How to set Cache-Control for images? · 6 years ago

    Jup, it seems like, Grav does only apply the cache control to the pages, but not media files and or assets. It would be really great, if Grav would support that!

  • Theme Updates via. Gitlab release · 7 years ago

    Hi, I made my privat theme, that is going to be used for many different sites in the near future. Now it want to make a Git-Repo to update this theme via. the Grav Admin-Plugin. Does Grav accept a

  • Nofollow does not work for img links · 8 years ago

    In the page linking tutorial, it says you can nofollow Links like this: [NoFollow Link](../some-page?rel=nofollow) This does not work when put inside an div container, like : <div class="div" mar

  • Can I use multi-language features on a partially translated site? · 8 years ago

    I basically have the same question. On our site there are only the legal pages like terms of service etc. translated to english. But now the whole site gets it's englisch urls with /en/. Thats not goo

  • Update to Symfony 4 · 8 years ago

    I`ve been told from my developers, that Grav still runs on Symfony 2, while Symfony 4 was already released. We want to use it for a huge Project and this was on of the major concerns. Is there any pla

  • Loop over Images in content split · 8 years ago

    Well I did find a work around, but it's not nice: {% for column in page.content|split('<hr />') %} {% set col = loop.index %} <div class="row"> {% for image in page.media.images %} {% i

  • Loop over Images in content split · 8 years ago

    Hi I have the following problem: I would like to include the page.media.images in my Content-Loop in an ascending manner. I Understand how to get the first one, but not the rest of the pictures. I tri