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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

johannes t Newcomer

@shapeape · Joined 8 years ago · 4 posts · 2 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Blog with years subfolders for tidiness · 7 years ago

    Thank you SjoerdSmeets, that works. Now i just need to get rid of the /2019/ in the urls i tried routes: /blog/([0-9]{4})/(.*): /blog/$2 in site.yaml, but that doesn't work. do i need a rewrite_rule

  • Blog with years subfolders for tidiness · 7 years ago

    Hi, I'm looking for a way to get more tidiness in the backend when i have a lot of blog entries. using subfolders for each year would help a lot: blog/2019/this-is-a-blog-entry/item.md blog/2019/some

  • Pages in multiple categories -> active menu item · 8 years ago

    Thanks for your answer! I'm already using theme inheritance, forgot to mention. problem solved for me: in 'navigation.html.twig' i replaced {% set active_page = (p.active or p.activeChild) ? 'active'

  • Pages in multiple categories -> active menu item · 8 years ago

    Hi, My menu looks like this: home, projects, blog, about ... if i create a new page under projects it should also appear in blog. This already works using collections in my blog content: item