mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-31 01:34:18 +02:00
Defer JS loading to improve first paint perf
This commit is contained in:
parent
14bc68da17
commit
629f526af8
@ -36,7 +36,7 @@
|
|||||||
= stylesheet_link_tag 'application'
|
= stylesheet_link_tag 'application'
|
||||||
- else
|
- else
|
||||||
= stylesheet_link_tag 'legacy'
|
= stylesheet_link_tag 'legacy'
|
||||||
= javascript_include_tag 'all'
|
= javascript_include_tag 'all', defer: true
|
||||||
|
|
||||||
%body
|
%body
|
||||||
%article
|
%article
|
||||||
|
Loading…
x
Reference in New Issue
Block a user