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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Specify individual children in collection? · 10 years ago

    Your solution seems like the best way to me, although I think something like this might work if your class name is actually style 1, style 2, style 3 etc.: {% for child in collection|sort %} &lt

  • Specify individual children in collection? · 10 years ago

    I found one solution, although I'm not sure if this is the best way to go about it. {% for child in collection|sort %} {% if loop.revindex == 1 %} <div class="style1"> <img

  • Specify individual children in collection? · 10 years ago

    I feel like there should be an easy way to do this, but I can't find it. I need specifically chose a child from a collection while looping through the collection. The order doesn't really matter, just

  • Macros with page collections · 10 years ago

    A very simple macro is in the navigation twig of Antimatter: https://github.com/getgrav/grav-theme-antimatter/blob/develop/templates/partials/navigation.html.twig Check it out, and try to replicate i

  • Macros with page collections · 10 years ago

    Hello! I have this peace of code: {% for page in page.find('/xyz').collection('content_package-nr_1') %} {{ page.content }} {% endfor %} The only thing what changes here is .collection('nameX').

  • Taxonomy Collections · 10 years ago

    I see missing a : after category, and also check you are using the correct indentation, it matters.

  • Taxonomy Collections · 10 years ago

    Hi. I'm trying to make a taxonomy collection that only shows pages that match ALL taxonomy in a collection. What I have right now is: content: items: @taxonomy: {tag:[featured, branding], category[p

  • Simplesearch stopped submitting · 10 years ago

    OMG thank you! Yes there should be only 3 search boxes, I'll have to find that fourth! And it's because I wanted it to appear in 3 different places, the main header, the header that appears after you

  • Simplesearch stopped submitting · 10 years ago

    As Sommerregen says, I count 4 search forms on your page code. Only one shows, the other 3 are hidden. Just searched for data-search-input The JS is not working because of this, it's not considering a

  • Simplesearch stopped submitting · 10 years ago

    Hi @ritchiedalto, I can reproduce your issue and has most likely to do with the way how JS changes the page. In the source code of your site you have four search boxes. But on your site you only see t