how to import CDN to the theme?

Permalink
For example -

This line of code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
or
<script src="https://apis.google.com/js/platform.js" async defer></script>
-------------------------------
I need to add: <?php echo $view->getThemePath()?>

siton
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi siton,

concrete5 version 5.7 includes a copy of jQuery that you can require in your theme page_theme.php.

For other scripts, the script tag can be added to the theme file as is. Scripts that are async or defer can be added to the <head> and the rest can be added before the closing </body> tag.