Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • [Antimatter] 5 columns desktop - single column rendering on mobile devices? · 8 years ago

    And I only looked at it and saw all is well....

  • How to set header image in grav blog page · 8 years ago

    Mi dispiace... My script presumed a Unix OS. Have you considered to set up Windows Subsystem for Linux? I'm running Windows 10 and moved all my development to WSL and love it. You can replace step 1.

  • onAdminSave() for setting route default override · 8 years ago

    A few thoughts come to mind: What is the performance overhead of looping through all blog items on every page request? Could you jump out when type of current page is not 'blog' and/or 'item'? Why no

  • How to set header image in grav blog page · 8 years ago

    @semplicewebsite Would you like to show different images for the blog item in the list ('blog.html.twig') and on the blog item itself ('item.html.twig')? Unfortunately that option is not build in...

  • Tag Results Page · 8 years ago

    I presume you are making the changes in a child theme by using Theme Inheritance? If not, your changes will be lost when Antimatter gets updated. And that would be a pity wouldn't it....

  • How to set header image in grav blog page · 8 years ago

    It depends.... What is the theme you are using? What (and hence the template) are you looking at: The header of page blog.md? The header of each item listed on page blog.md? The header of page item.

  • Tag Results Page · 8 years ago

    @techielass According the docs on theme variables, the uri object is available in Twig. You could add something like the following to template blog.html.twig somewhere around line 20: {% if uri.param

  • onAdminSave() for setting route default override · 8 years ago

    Would you mind elaborate on why you would like to keep the Wordpress style urls? Is it pageranking, or ...

  • [SOLVED] How to generate fake url /item-XXX or item/XXX for the same page? · 8 years ago

    Ah, I see I have misunderstood your requirements... The approach you have taken seems to fit your needs pretty well. I see some area's of improvement in coding though: The regex used to get the ID w

  • [SOLVED] How to generate fake url /item-XXX or item/XXX for the same page? · 8 years ago

    @nicolasG Grav's routing capabilities are quite flexibel and powerful. Have a look at the documentation for Routing. For instance you can set multiple aliases in the frontmatter of a page. For example