When building a template, you must put one (and only one) of these calls inside your <head></head>
:
<jdoc:include type="head" />
Checking here does not provide much extra info:
https://docs.joomla.org/Jdoc_statements#Head
So my question is: what exactly gets loaded in this call? I know this will load additional javascript and CSS files when using:
$document = JFactory::getDocument();
$document->addStyleSheet($url);
$document->addScript($url);
or custom tags using
$document = JFactory::getDocument();
$document->addCustomTag($stylelink);
Anything else? And is there a way to order what's loaded there?
Thanks.