Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
For not working with external yaml file
· 11 years ago
Hi, the file is called authors.yaml and it is located in /user/config . The content of the file is: kaladan: name: kaladan email: kaladan@mail image: kaladan.png bio: simple bio Thanks.
-
For not working with external yaml file
· 11 years ago
What is your authors file called, where is it located and what is the contents of the file?
-
For not working with external yaml file
· 11 years ago
Hi, i'm working on a pet media project and i'm trying to create an yaml file with all the authors in the media. I'm having trouble using "for": {{ config.authors.kaladan.name }} << this is
-
Getting image from a global dir
· 11 years ago
Yup good catch on that typo :)
-
Getting image from a global dir
· 11 years ago
Thanks! That worked (except for your typo) ] not ) Cheers
-
Getting image from a global dir
· 11 years ago
Ok, I know the problem. The way you are trying to load the image is via page.media which is basically just an array of the media for the current page. To do what your trying to do you would need fir
-
Getting image from a global dir
· 11 years ago
I have tried everything I can and I can't get an image to load with the twig image manipulation tag from a global directory. I basically want this to work on any page: {{ page.media['/images/page-bg.j
-
Running a file outside Grav
· 11 years ago
That should work. In fact I just tested it and it worked fine. Just test by pointing your browser directly to the page: http://yoursite.com/message/submit-error.html If that works, then the issue is
-
Running a file outside Grav
· 11 years ago
I need to run a straight html page outside of Grav that is utilised by a form sending php script that is running in the webroot next to Grav... problem is I can't get the form to find my html page, I
-
Set header image on antimatter theme
· 11 years ago
If you download the blog-skeleton package you can get a working example of the demo: http://demo.getgrav.org/blog-skeleton/ You can see how the header image for each post is pulled out automatically