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

  • Use plugins in twig files · 11 years ago

    Typically twig is processed after markdown is processed. In your case, your trying to dynamically put a twig variable into markdown syntax. You just need to tell Grav to process the Twig first with

  • Use plugins in twig files · 11 years ago

    Hello, i can't find a way to use plugin Youtube or MediaEmbed in twig file. I want set youtube urls in the page header title: 2009 youtubes: - header: Video1 url: https://www.youtube.com/wa

  • Shortcodes in twig file? · 11 years ago

    Hi @arank, yeah that's most possibly the wrong path. Usually you have to insert the path you can see from the browser for a specific page, i.e. for a page you can access it via http://mysite.com/my-su

  • Shortcodes in twig file? · 11 years ago

    I have a modular page. So the path should be: /usr/pages/01.home/_test But the content isn't shown??? Wrong path?

  • Shortcodes in twig file? · 11 years ago

    Hi, thanks. Exactly what I was looking for.

  • Shortcodes in twig file? · 11 years ago

    Hi @arank, Shortcodes cannot directly be mixed with Twig content. However, it implements a Twig function called shortcodes you can use in your Twig files, e.g. {{ shortcodes("{{% embed '/path-to-your-

  • Shortcodes in twig file? · 11 years ago

    I strongly suggest you read the Twig docs on the official site. They have a great walk through for designers: http://twig.sensiolabs.org/doc/templates.html

  • Shortcodes in twig file? · 11 years ago

    Hi, is it possible to use shortcodes in a html.twig file? Should I use both lines (or only one of them) as described in your docs? {{% embed page="/path-or-slug" modular=false|true template="name" %}}

  • Can anchors plugin options be customised? · 11 years ago

    Sorry for the slow reply. I didn't have chance to take another look into this in the meantime. Since you already did it I'll just give it a try.

  • Can anchors plugin options be customised? · 11 years ago

    Well, as I didn't hear back from you, I updated the plugin myself.