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

Js_pipeline: true resulting position

Started by Muut Archive 12 years ago · 1 replies · 314 views
12 years ago

Hi,
I wonder if there is a way to get the compressed and minified javascript inserted at the bottom of the page (read: just before the </body> tag) instead of the header. Is ther eany configuration one could apply for that?

Thanks :)
Lukas

12 years ago

You can move the {{ asssets.js() }} call to the bottom of the theme if you wish. This is where the JS files get output. However, as long as your initializations are performed onload there is no great reason to do so.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2273 9 years ago
Archive · by Muut Archive, 9 years ago
2 1495 9 years ago
Archive · by Muut Archive, 9 years ago
2 4742 9 years ago
Archive · by Muut Archive, 9 years ago
1 3552 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago