/**
* Add base snippets to the response.
*/
protected function addSnippets()
{
$this->queue->add(Target::END_OF_HEAD, '<meta name="generator" content="Bolt">');
if ($this->config->get('general/canonical')) {
$canonical = $this->resources->getUrl('canonicalurl');
$this->queue->add(Target::END_OF_HEAD, $this->encode('<link rel="canonical" href="%s">', $canonical));
}
if ($favicon = $this->config->get('general/favicon')) {
$host = $this->resources->getUrl('hosturl');
$theme = $this->resources->getUrl('theme');
$this->queue->add(Target::END_OF_HEAD, $this->encode('<link rel="shortcut icon" href="%s%s%s">', $host, $theme, $favicon));
}
}