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.

Piotr Adam Gulbis Newcomer

@PiotrG · Joined 9 years ago · 5 posts · 2 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Markdown and Twig for Layout · 9 years ago

    Hello! I'm still very new to Grav and am trying to wrap my head around the use of markdown. I would like to give my users the ability to edit the text of a page but not change the layout or styles ass

  • Alternate Nav Image depending on page · 9 years ago

    I'm not sure I understand the flow of the navigation.html.twig file in Antimatter... First there is: {% macro loop(page) %} and then there is <nav class="{{ page.header.nav_classes }}"> and in

  • Alternate Nav Image depending on page · 9 years ago

    I've managed to sort it out using your advice but changed it a bit, probably not the most efficient way but it works 🙂 I added {% if page.header.nav_logo == 'white' %} over the whole nav and created

  • Alternate Nav Image depending on page · 9 years ago

    I don't want to not display an image, I would like to have a different image for the link depending the page displayed. I have a base.html.twig which has an include for navigation.html.twig. In naviga

  • Alternate Nav Image depending on page · 9 years ago

    Hello! I am trying to get a different image to display in my nav depending on the page I am currently on. <ul class="nav-links"> {% for page in pages.children.visible %} {% set c