Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Server freezes when ever I try to create new files or folders using admin plugin
· 9 years ago
I have not tried it using other methods. But this is annoying. Server freezes up and then takes 2-3 hrs to get back to usable condition again. Side note. After login in. Admin panel shows error "403".
-
Twig Check Current Page
· 9 years ago
Thank you both for your suggestions. I tried both and the first method (@flaviocopes) did not work. The second (@Ryan Spencer) did work. Try 1: {% block header %} {% if page.home == True %}
-
Twig Check Current Page
· 9 years ago
@flavioscopes answer is correct, but only works because you are specifically targeting the home page. I would like to offer another answer that is a little broader. You can use your page's frontmatter
-
Twig Check Current Page
· 9 years ago
Use page.home which returns a boolean value https://learn.getgrav.org/api/Grav/Common/Page/Page.html#method_home
-
Twig Check Current Page
· 9 years ago
Is there a way to check the current page using a twig if statement? For example, I want to show a certain header on the home page (home.md w/ home.twig.html) and then use a different header on all oth
-
Social Media Sharing
· 9 years ago
Is there a solution to share automaticly new blogposts to different social media accounts like twitter, facebook etc?
-
The content (.md files) is not visible on remote, but is visible on localhost
· 9 years ago
If cache would be the problem there would still be content on the page unless the .md was cached empty and then saved with content after and not updated because of the cache problem. When Ёжик saved t
-
The content (.md files) is not visible on remote, but is visible on localhost
· 9 years ago
Could also be a cache issue. Disabling cache does it work, to check if this is the problem?
-
The content (.md files) is not visible on remote, but is visible on localhost
· 9 years ago
Most likely a permission problem. Try this on your on your grav root on the server: #!/bin/sh chown -R www-data:www-data . find . -type f | xargs chmod 664 find ./bin -type f | xargs chmod 775 find .
-
The content (.md files) is not visible on remote, but is visible on localhost
· 9 years ago
Good day, the problem: until the MD files is saved on remote server directly, it is not rendered by grav. When you enter the page, it is just empty, but actually it has an MD file. When you open MD fi