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

  • HTML twig is not rendered if div content is empty with style & background imagei · 10 years ago

    thank you for taking a glance, but tried already with display: block just add some width but unfortunately same result

  • HTML twig is not rendered if div content is empty with style & background imagei · 10 years ago

    On first glance it would seem that the first div has too little to go on to determine it's rendered size, ie you set a height in CSS but no width or structural declaration. Have you tried applying wid

  • HTML twig is not rendered if div content is empty with style & background imagei · 10 years ago

    why this html.twig file is not rendered <div style="height:500px; background-color:#ffffff;background-image: url(/user/pages/01.home/_slideshow/image.jpg); background-position: initial;" ></d

  • Sort array by field · 10 years ago

    Good news. According to the Grav source code, it looks like a sort_by_keyfilter is available. Give it a shot and let us know if it worked. In your case, though, it won't work as you expect because of

  • Sort array by field · 10 years ago

    Sorry. Not sure what happened to my text at the end there. It should read "but there are some extensions that claim to do so. The link is good. Now, I haven't used twig extensions before, so I'm not c

  • Sort array by field · 10 years ago

    The best way is to just put them in your YAML in date order. Then you don't have to do anything programmatically. In PHP, a google search returns something along these lines. I don't believe twig can

  • Sort array by field · 10 years ago

    Hi guys, again I have a question... In my press_releases.md I have an array defined in frontmatter. press_items: - title: 'xxx' date: '01.09.2016' description: 'yyyy' - t

  • Translations for site.yaml? · 10 years ago

    @iusvar: Thank you so much!

  • Translations for site.yaml? · 10 years ago

    The second one {{ meta.content }} it's wrong. it's right {{ meta.content|t }}

  • Translations for site.yaml? · 10 years ago

    Great! I'm glad you got it worked out.