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

  • Minify Breaks CSS Layout? · 12 years ago

    If you can give me a URL where you are seeing the problem (perhaps a copy of your site with those settings enabled), I can have a poke about and see what's what?

  • Minify Breaks CSS Layout? · 12 years ago

    Still digging. I don't think it's the asset pipeline at all now. Turning off the debugger causes the same CSS layout problem, so it's in my CSS. Somehow the debugger pane causes a change in behavior.

  • Minify Breaks CSS Layout? · 12 years ago

    I suspect it's a little complicated to debug. If I get some extra time, I'll try to concoct a minimal test case.

  • Minify Breaks CSS Layout? · 12 years ago

    We use the Minify library for minification. We do a little bit of extra work to support fonts and such. I would really need to see how it's breaking. Could be a bug in the Minify library itself. I've

  • Minify Breaks CSS Layout? · 12 years ago

    If I enable the asset pipeline with minification and re-write on, my CSS layout is broken. If it's just the pipeline and re-write, it's fine. Does Grav do anything unusual in it's minify routines?

  • Twig Comment Errors · 12 years ago

    Yes, some days I am not as bright as on other days. :( Of course! Thanks.

  • Twig Comment Errors · 12 years ago

    You can still use comments. Just put them in between the relevant {% block %} tags.

  • Twig Comment Errors · 12 years ago

    Thanks. That's too bad. I like to lead off partials with comments to tell me from where code is generated, especially when I'm new to a platform.

  • Twig Comment Errors · 12 years ago

    OK, i think the thing is you are trying to put HTML (comment in this case) outside of {% block %} definitions. It seems this is possible when using embed but not with extends. If you read the Twig

  • Twig Comment Errors · 12 years ago

    Sometimes I can use an HTML style comment at the start of a Twig template file that works fine: <!-- /templates/blog.html.twig --> {% embed 'partials/base.html.twig' %} But sometimes Grav throw