Commit 67a28204 authored by David Loiret's avatar David Loiret Committed by Jean-Baptiste Kempf

Add async tag to eliminate render-blocking JavaScript

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 2bb7d999
......@@ -227,10 +227,10 @@ function start_head( $title,
<?php /* jQuery */ ?>
<?php /* Get the one in the Google CDN to get cached */ ?>
<script src='//' type='text/javascript'></script>
<script src='//' type='text/javascript'></script>
<script async src='//' type='text/javascript'></script>
<?php if( isset($additional_js) ) {
foreach($additional_js as $js) {
echo '<script src="'.$js.'" type="text/javascript"></script>';
echo '<script async src="'.$js.'" type="text/javascript"></script>';
} ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment