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

  • How to limit nav recursion · 10 years ago

    I think you might have to tweak it a bit. There is maybe a better solution. {% macro loop(page) %} {% for p in page.children.visible %} {% set current_page = (p.active or p.activeChild) ?

  • How to limit nav recursion · 10 years ago

    Hey I can't work it out - if you have a minute can you tell me where I put the slice to make it work in this? {% macro loop(page) %} {% for p in page.children.visible %} {% set current_pag

  • How to limit nav recursion · 10 years ago

    you can use Twig Slice or loop.index to limit the output of your function, example: {% for child in page.children|slice(0,1) %} {# Will output the two first children #} {% endfor %} Or alternatively

  • How to limit nav recursion · 10 years ago

    How can I limit the amount of times a Navigation loop recurses over and finds children? I only want it to do it twice but its doing it infinity times... using Antimatter basic navigation... thanks

  • Blueprint and modules order in modular page · 10 years ago

    Hi guys, I want to know if it's possible to set the type of order in the blueprint of a type of page (Order by default...). I can't find this information ! I can't even find how to display the order

  • Mathml contents in Grav? · 10 years ago

    Yes.

  • Mathml contents in Grav? · 10 years ago

    Thanks guys :) I found that inserting mathml code inside a .md document, is just like inserting it in normal .html file (if I open it in firefox, I don't even need a plugin, just like normal html file

  • Mathml contents in Grav? · 10 years ago

    As Perlkonig said, you can use any HTML alongside Markdown. MathML in Markdown is fairly much easier than in HTML (given that you're comfortable with the general MathJax syntax), just take a look at t

  • Mathml contents in Grav? · 10 years ago

    There's a MathJAX plugin that supports MathML. Markdown also lets you insert arbitrary HTML markup, so there's nothing stopping you from inserting whatever markup you want, but I'm not very familiar w

  • Mathml contents in Grav? · 10 years ago

    Hi all, I'm totally new in this Grav cms, I would like to create a website that display mathml contents. From the documentation that I read, it seems that the page or contents develop in Grav uses Mar