Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How to add stuff to <head> from a module twig
· 10 years ago
Thank you :) yes, that really helps! Another option would be to load the js directly in the body. However, my case sometimes is a bit more difficult because: 1) some of the parameters passed to the js
-
How to add stuff to <head> from a module twig
· 10 years ago
ohh, no it's totally my fault, I read your first post too quickly. I thought you were wanting to add metatag. For javascript, if the javascript you want to add is not too heavy, I would rather add it
-
How to add stuff to <head> from a module twig
· 10 years ago
Ok. Maybe I get this all wrong but I think that metadata is about the meta tags in the header right? I want to add some js to the <head>. Sorry, if it's my fault but I still don't see how this c
-
How to add stuff to <head> from a module twig
· 10 years ago
you have to use it on the pages that support the modular file, for exemple if you have 01.home -_modular1 -_modular2 Just open 01.home and go to options in normal mode and you will have a metadata box
-
How to add stuff to <head> from a module twig
· 10 years ago
Thanks for sharing! However, I think I don't understand that completely. Using this snippet, how would I be able to add stuff to the <head>...</head> section of the page from within a modu
-
How to add stuff to <head> from a module twig
· 10 years ago
You can use this useful piece of code that is present on several Grav Themes. You just need to include it in your base or wherever you want to use it. {% for meta in page.metadata %} <meta {% if me
-
How to add stuff to <head> from a module twig
· 10 years ago
Hello! Following the Theme Tutorial I have a user/themes/mytheme/templates/partials/base.html.twig file in my theme. As it is a modular theme, I further have another file user/themes/mytheme/templates
-
Would you appreciate more in-depth tutorials?
· 10 years ago
I'm thinking about making more in-depth video tutorials on building websitest with Grav. The documentation is great, but there are things that I had to find out on my own, that's why I'm thinking abou
-
Authentication: RBAC (Role based access control) in Grav?
· 10 years ago
There is no fine-grained ACL that can limit which pages a user/group can see. You can suggest such feature for consideration.
-
Authentication: RBAC (Role based access control) in Grav?
· 10 years ago
Yeah, is there a way to only allow certain users to view certain pages. For instance A group can only view A pages and B group users can only view B pages.