Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
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?&quest;
-
Set <html lang="de">
· 10 years ago
I 'm using big-picture. It says: <html lang="{{ grav.language.getActive ?: theme_config.default_lang }}">
-
Set <html lang="de">
· 10 years ago
With Antimatter it's not possible that lang is blank, as it has <html lang="{{ grav.language.getLanguage ?: 'en' }}"> in the file templates/partials/base.html.twig, so it's either your language