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

  • Scoped CSS? · 9 years ago

    {% if page.url == base_url %} <link rel="stylesheet" href="{{ theme_url }}/css/welcome.css"> {% endif %} this works. but is there another way of conditionally rendering a stylesheet just for a

  • Scoped CSS? · 9 years ago

    How can I provide css just to one type of page?!??

  • How to find parent theme url or dir in twig template · 9 years ago

    @Stanislav thanks, but {{ url('theme://...') }} or {{ theme.url }} return the active theme and in my case the active theme is the theme child and i'm looking for the parent theme (theme-inheritance)

  • How to find parent theme url or dir in twig template · 9 years ago

    Not quite clear what parent theme and child theme, but maybe so: {{ url('theme://...') }} or {{ theme.url }} ---

  • How to find parent theme url or dir in twig template · 9 years ago

    I'm trying to access parent theme url or dir in my theme child, all themes variable return the theme child, of course normal behavior, but need to access theme parent url or dir in my theme child. Tha

  • Multi-language pages rounting · 9 years ago

    Thanks alr3id for sharing. I will study a way to flag and hide it if there is only one language using this nice plugin. For now and for my needs, I found a way to correctly show it by adding in the it

  • Multi-language pages rounting · 9 years ago

    If you don't want it to show, then i am sure you could have a flag to hide it if there is only one language. I was only going by what i could see looking at your site. I am dealing with multiple lang

  • Multi-language pages rounting · 9 years ago

    Hi alr3id. It is already set so. The output of my /user/config/site.yaml default_lang: it It seemed like a problem of cache after enabling the "redirect default route". Now, although the link hovering

  • Multi-language pages rounting · 9 years ago

    Have a look in Configuration > Site > default language, and set it to "it". This should mean you have URL's like http://www.thejackhome.com/it/classifica-avulsa-con-exceland http://www.thejack

  • Multi-language pages rounting · 9 years ago

    have you set your default language in config?