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

  • Exclude image from for loop based on name · 10 years ago

    Thanks for the suggestion, I just tried that but it results in an error. Unexpected token "operator" of value "=" ("end of statement block" expected) in "partials/base.html.twig" at line 101. apparen

  • Exclude image from for loop based on name · 10 years ago

    I might be wrong but your last code block might be correct if you just change it like below: {% for image in page.media.images %} {% if image = profile_image_file %} <!-- do nothing, igno

  • Exclude image from for loop based on name · 10 years ago

    Hi, I've a full width gallery on the top of my page that simply loops over all images as follows: {% for image in page.media.images %} <div data-src="{{ image.url }}" data-thumb=""></div

  • Blog date and time from header · 10 years ago

    In my case it only worked after changing date: 01/01/2014 3:14pm to date: 01/01/2014 3:14

  • Blog date and time from header · 10 years ago

    wow... too easy! thanks a lot!!!! and big thumbs up for the fastest reply ever!

  • Blog date and time from header · 10 years ago

    yes, you can just add in the header: date: 01/01/2014 3:14pm then you can replace line 8-16 from blog_item.html.twig with <div class="blog-date-day"> {{ page.header.date|date("d")

  • Blog date and time from header · 10 years ago

    Hi hive, sorry for this noob question... I'm using the soraarticle theme on my site. the blog items always show the date on which the blog item was modified. is there a way to always use the date fro

  • Blank admin panel · 10 years ago

    A blank page is due to a PHP error of some kind. The best way to see what is causing this is to: 1) Turn on displaying PHP errors in your php config. On shared hosting this can often be done via .hta

  • Blank admin panel · 10 years ago

    Hi All, I've uploaded a new install of Grav and the admin panel is totally blank. I have checked permissions and have done through the Trouble shooting guide in https://learn.getgrav.org. Any ideas a

  • Admin markdown form field · 10 years ago

    Thanks @paulmassendari, that validation option did the trick.