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

  • Can you add a blueprints import · 11 years ago

    Please make your request on the Grav Issues tracker: https://github.com/getgrav/grav/issues

  • Can you add a blueprints import · 11 years ago

    Is there a way of adding an import feature into theme blueprints. For example: I have a gallery blueprint that has multiple entries, and i want to add it to different theme templates, ie default.html.

  • Loading jQuery async · 11 years ago

    You can still use any jQuery release you added somewhere in the user/ folder if you want.

  • Loading jQuery async · 11 years ago

    When jQuery is updated in Grav (probably in the next release of Grav, since 2.2 is out) and you update your site, your path will need to be updated or that version won't be found any more. When merged

  • Loading jQuery async · 11 years ago

    SOLVED @flaviocopes, thank you jQuery is now loading async. FYI for others that may have a similar issue: Swapped in your supplied code changes to system/src/Grav/common/Assets.php. Then edited my e

  • Loading jQuery async · 11 years ago

    Here again. I updated the PR code. Fixes your original use case, but your code has an error: it's {% do assets.addJs('theme://js/example.js', {'priority':101, 'loading':'async'}) %} not {% do assets

  • Loading jQuery async · 11 years ago

    Just saw, try {% do assets.addJs('jquery',101, null, 'async') %} not {% do assets.addJs('jquery',101, {'loading':'async'}) %} I think the second call style needs a fix, can't get it to work. Looking a

  • Loading jQuery async · 11 years ago

    Sorry. Swapping in those two lines had no apparent effect in <script>tag. Clearing Grav cache did not help. I'll try browser cache after sending this reply.

  • Loading jQuery async · 11 years ago

    PR sent. If you can, test it: https://github.com/getgrav/grav/pull/623

  • Loading jQuery async · 11 years ago

    I think you're right. Making a PR.