Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Add Author name in blog post? · 11 years ago

    {{ site.author.andym.name }} This works. I just tested it with newest grav so it's not an issue.

  • Add Author name in blog post? · 11 years ago

    hmmm. {{ site... }} should work fine also. It is a shortcut to config.site, but should still work, if it doesn't can someone ticket that as an issue?

  • Add Author name in blog post? · 11 years ago

    There are two ways for you you should consider. First you can paste the above code directly in your ".md" file, but then you explicitely have to enable Twig in the page header via process: twig: t

  • Add Author name in blog post? · 11 years ago

    Its bit confussing, but if I got you right I just have to paste the code in the ".md" file, Right? File Manager

  • Add Author name in blog post? · 11 years ago

    Hi Ashok, it looks like you have to prepend config. in front of site, since you are accessing a config variable from site.yaml (see http://learn.getgrav.org/themes/theme-vars#site-object ). Thus, <

  • Add Author name in blog post? · 11 years ago

    I pasted the author info in site.yaml but when I used <b>Author Name: {{ site.author.andym.name }}</b> nothing happened! The Urban Jungle _ Grav

  • Add Author name in blog post? · 11 years ago

    You can add those things in the page header frontmatter, then you will have them available to access via the twig. If it's an author you use frequently, you could put that information in the site.yaml

  • Add Author name in blog post? · 11 years ago

    Hello I have just tried GRAV and found it extremely powerful and easy to use. I just want to add author name, picture and some info at the end of a page.

  • RuntimeException Issue · 11 years ago

    Yeah that was it! Thank you, that fixed the issue!

  • RuntimeException Issue · 11 years ago

    Seems as though Grav does not have permissions to write folders/files http://learn.getgrav.org/troubleshooting/permissions