Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Maleika Esther Attawel Newcomer New

@maleika · Joined 3 years ago · 3 posts · 1 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Change the body class if page uses default.html.twig · 3 years ago

    Thank you so much for your invaluable response! It was a naming error. I had used single_project.md instead of single-project.md for the corresponding Twig template which is why it resorted to the def

  • Change the body class if page uses default.html.twig · 3 years ago

    For now, I've changed my approach by adding a css_class to my .md files. This works well. <body class="{{ page.header.css_class }}"> I'd still be interested to know if what I tried in my initial

  • Change the body class if page uses default.html.twig · 3 years ago

    Hi, I'm new to Grav and would like to assign the default.html.twig template a specific class. Scenario: I am building a portfolio page that contains several pages, each of which are assigned different