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

  • Printing out the count of media files · 10 years ago

    Hey there everybody. In one of my template partials, i want to print out (html) a list of files. That already works well for all the zip files i add to the post / pages folder. But i would love to hav

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    I needed to remove what I didn't need in the URLs in my theme's twig fiels. In your case, I remove "parent/parent/". You also need to override the routes to allow us to go to the correct pages as Hugo

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    Could you possibly clarify how these changes might be implemented? I think i am in a similar boat -- with a collection of hierarchical web pages (about 70 or so), but due to a pre-existing structure,

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    Yes for the menu, you will have to change the logic in the navigation twig file, or as you said, maybe hard-coding those links might be easier.

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    Giới thiệu dự án Vinhomes Phạm Hùng tại địa chỉ http://vinhomesgroup.net.vn/du-an-chung-cu-vinhomes-sky-lake-pham-hung

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    Thank you! I have tried routing, it works but only solves 50% of the problem. The navigation bar needs to show "men-clothes" instead of "categories/men-clothes". It seems we really need to hard-code s

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    overriding routing will be the way, detailed info in learn site: https://learn.getgrav.org/content/routing

  • Child page's URL doesn't contain parent page's slug · 10 years ago

    Our site has a navigation bar like this: Home Categories Men Clothes Women Clothes Shopping Cart Contact Right now, the URL to Men Clothes category is oursite.com/categories/men-clothes. But we want

  • Process css with twig · 10 years ago

    SASS compiled into one stylesheet (or rather two different ones) that get loaded depending on the current page type did the job. Thanks for your suggestions!

  • Process css with twig · 10 years ago

    Sounds like a good plan. Thanks for the advise. I'll be traveling the next couple of days, but I'll let you know my final solution as soon as possible.