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

  • Child theme jquery · 10 years ago

    Also replied in Gitter. Is jquery loaded in the page? Antimatter loads it this way https://github.com/getgrav/grav-theme-antimatter/blob/develop/templates/partials/base.html.twig#L33

  • Child theme jquery · 10 years ago

    i created a child theme in antimatter. my custom js is working .when i use just js codes it is working.but when i use jquery in my custom js it is not working.what must i do?where must i place my jqur

  • Making really simple layout changes · 10 years ago

    The best way to edit a theme is to create a child theme I see that specific theme does not use SCSS as it's migrated from the WP theme directly. You'll need to alter partials/base.html.twig (https://

  • Making really simple layout changes · 10 years ago

    Sorry, I'm actually using the TwentyFifteen theme, but I guess it shouldnt be too different. Where can I find the code to edit in order to change the actual layout and not just each individual blog pa

  • Making really simple layout changes · 10 years ago

    Hey folks! I just started using Grav today at Lunsford.ca and I just need to know how to change the name of the blog from "My Blog," and to change the font size and link colors (through CSS or SCSS) o

  • Passing a variable to change layout · 10 years ago

    Yup, bingo yet again. Thank you @rhuckster and @flaviocopes for your time and help!

  • Passing a variable to change layout · 10 years ago

    rather than using query use a param, which is nicer looking: {{ child.url }}/style:style1 Then you can retrieve that with: {{ dump(uri.param('style')) }} BTW, what you had before will work also, but y

  • Passing a variable to change layout · 10 years ago

    Unfortunately I don't think I can see how to make that work. The collection loop in the book1 template, and likewise the loop in the book2 template, displays a link using child.url: {% for child in pa

  • Passing a variable to change layout · 10 years ago

    You can create a book1.html.twig template and inside it, in the collection loop, pass a value like {% for child in collection %} {% include 'partials/display-one-book.html.twig' with {'layout':'st

  • Passing a variable to change layout · 10 years ago

    I'd be pleased if I could find another way to do it, but at present it seems that I have to reference the pages inside pages/Books1 unless I'm going to have a second copy of the data, which is not at