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

  • How to make a page list in Grav · 10 years ago

    Hello all. Just getting deeper into GRAV and loving what I'm seeing. However, I can't wrap my head around how to get GRAV to spit out what I'd call a "Page List" of page, like a form of navigation. Fo

  • Set <html lang="de"> · 10 years ago

    I will do. Sorry for not mentioning the theme.

  • Set <html lang="de"> · 10 years ago

    I thought you were using Antimatter as you mentioned the one-page site skeleton

  • Set <html lang="de"> · 10 years ago

    Ok it should use grav.language.getLanguage not grav.language.getActive, open an issue on that theme GitHub repository so the developer knows there's a problem with it.

  • Set <html lang="de"> · 10 years ago

    taking the snippet from antimatter does the job No /de but correct language markup :-)

  • Set <html lang="de"> · 10 years ago

    no, it doesn't work. It adds another /de and the W3C Validator cannot check it

  • Set <html lang="de"> · 10 years ago

    this works: languages: supported: – de includedefaultlang: true translations: true translationsfallback: true sessionstoreactive: false httpacceptlanguage: false overridelocale: false

  • Set <html lang="de"> · 10 years ago

    Should I just copy the line from antimatter and purge the one from big-picture?&amp;quest;

  • Set <html lang="de"> · 10 years ago

    I 'm using big-picture. It says: &lt;html lang="{{ grav.language.getActive ?: theme_config.default_lang }}"&gt;

  • Set <html lang="de"> · 10 years ago

    With Antimatter it's not possible that lang is blank, as it has &lt;html lang="{{ grav.language.getLanguage ?: 'en' }}"&gt; in the file templates/partials/base.html.twig, so it's either your language