Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How to specifically address blog.md frontmatter?
· 10 years ago
i'm sorry, i think the previous output was wrong! i cannot reproduce it anymore even with debug enabled. it now seems that the header.image variable is returned properly (bg.png), but the url conversi
-
How to specifically address blog.md frontmatter?
· 10 years ago
ok, this is what the dump shows: [2016-03-11 20:45:14] grav.CRITICAL: Expected name or number in "partials/base.html.twig" at line 42 - Trace: #0 /full/path/vendor/twig/twig/lib/Twig/ExpressionParser.
-
How to specifically address blog.md frontmatter?
· 10 years ago
it shows an empty url(): <header id="header" style="background-image: url();"> as i said, it works fine when i choose page.find('/blog').media.images|first instead.
-
How to specifically address blog.md frontmatter?
· 10 years ago
well most likely you have a CSS/HTML issue.. what does the output of that <header> tag look like in the rendered page? You can try using the Grav debugger and doing a: {{ dump(site_header_image)
-
How to specifically address blog.md frontmatter?
· 10 years ago
so now i have this in my base.html.twig: {% set site_header_image = page.find('/blog').header.banner_img %} {% if site_header_image %} <header id="header" style="background-image: url({{ site_heade
-
How to specifically address blog.md frontmatter?
· 10 years ago
How about: {{ page.find('/blog').header.banner_img }} That will get the value you set. If you just use a static name for the header you could do something like: {{ page.find('/blog').media['blog-head
-
How to specifically address blog.md frontmatter?
· 10 years ago
i am building my site with the blog skeleton. now i'm in the process of customizing the antimatter theme. i've changed the header (no more .js) and now i'm having difficulties telling the site to use
-
How can I use grav CMS on a shared server which log directory is not writeable?
· 10 years ago
This is actually something that we are going to add shortly (hopefully for Grav 1.1 release). We already have an issue for it - https://github.com/getgrav/grav/issues/715
-
How can I use grav CMS on a shared server which log directory is not writeable?
· 10 years ago
the system admin cannot change the permission access in logs directory :(. But he said that I shall write the CMS log into another directory such as logsgrav/. How can I change this setting?
-
How can I use grav CMS on a shared server which log directory is not writeable?
· 10 years ago
It's a permission issue. Check the webserver can write to the logs folder, see the learn site for more info on permissions.