Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Nico Petri Member
@npetri · Joined 9 years ago · 65 posts · 14 topics · 12 reputation
Badges
Recent posts
-
Redirect route including language
· 8 years ago
I was able able to define and test this configuration: redirects: /de/read-de: /externals/doc-de.pdf /cz/read-cz: /externals/doc-cz.pdf The de and cz language was added to system.yaml as a supported l
-
Redirect route including language
· 8 years ago
I was able to set a redirect to a particular file like this: /de/hijpeg -> /subdir/hi.jpeg The language indicator will be added automatically to the target. So u may try in your case: /en/mylink: /
-
Redirect route including language
· 8 years ago
Ahhhh now i get u. But i have no idea if its possible. U are able to create any route to a page, but to a file i dont know.
-
Redirect route including language
· 8 years ago
Haha, no twig cant handle routes. This is a really superveryverybiggestawesome builtin feature of grav. ;)
-
Redirect route including language
· 8 years ago
If i link an img in a md file like this: [link-name](blah.jpg) then it is availaible by the following routes: www.blah.de/de/subdir/blah.jpg www.blah.de/en/subdir/blah.jpg www.blah.de/subdir/blah.jpg
-
Redirect route including language
· 8 years ago
Share more details. U want to create a link in twig or markdown? Is it an external file u want to link?
-
contentMeta is NULL while looping through a collection
· 8 years ago
I got it, the error was related to a malformed section definition, thats why the contentMeta was empty.
-
contentMeta is NULL while looping through a collection
· 8 years ago
Hi there, as above i try to retrive shortcode sections by using this code: {% for _p in page.collection %} {% set _s = _p.contentMeta.shortcodeMeta.shortcode.section %} <h3>{{_s.headline}}&l
-
Trouble creating a new theme on MAMP on iMAC
· 8 years ago
Hi Norma, which error u get? Did u place the theme in grav-intall-path/usr/templates ?
-
Encoding issue of form content
· 8 years ago
Ahh ok. Thank u for the hint! So the upcoming update of forms will fixed it. Very good. My solution wasn't that clever. 🙂