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

  • Vue.js and JSON · 10 years ago

    You are getting the JSON from the Grav site itself, or from an external resource?

  • Vue.js and JSON · 10 years ago

    Hi folks, I am pretty new to Grav and I really like it so far. One thing that I cannot get my head around is how to fetch JSON data from an external source and then displaying it. I am using Vue.js to

  • Body Class · 10 years ago

    Yup, just depends on whether or not the theme you are using has that body_class being output in the body tag. There are no theme requirements as such for Grav, you can do whatever you like, themes th

  • Body Class · 10 years ago

    Another option: You can keep _body__class in the base.html.twig and add body_class: class-name to the front-matter of any markdown page you wish to target with body class css. Your source html wiill o

  • Body Class · 10 years ago

    figured it out, change: <body class="{% block body_classes %},{{ page.header.body___class }},{% endblock %}"> to <body class="{% block body_classes %},{{ page.header.title }},{% endblock %}"&

  • Body Class · 10 years ago

    I need help with this too, specially how to capture he header title as body class

  • Body Class · 10 years ago

    I'm needing to add a class to the body tag based on what page is currently active. Can this be done with Grav?

  • Advice needed for github use · 10 years ago

    I actually encountered this situation yesterday. Independently arrived at the same solution as you: place the automatic webhook script into the root folder. Now items updated or added in user are auto

  • Advice needed for github use · 10 years ago

    Sorted this out for myself, so in case anyone else has a similar problem, two things. The block in the .htaccess file is indeed a problem if you put the webhook under user, but webhook.php works perf

  • Advice needed for github use · 10 years ago

    I've gone as far as I can with syncing only /userand have run into a problem. Putting the webhook.php folder into /user seems to run afoul of this bit of .htaccess: # Block access to specific file typ