Commit f5564456 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič
Browse files

Add head template to include favicon

parent 71ecb883
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,7 @@ class Plugin extends Base
    {
    {
        $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css'));
        $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css'));
        # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header');
        # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header');
        $this->template->hook->attach('template:layout:head', 'MittelTheme:layout/head');
        $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before');
        $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before');
        $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array(
        $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array(
            'project' => isset($project) ? $project : null,
            'project' => isset($project) ? $project : null,
+1 −0
Original line number Original line Diff line number Diff line
<link rel="icon" href="/plugins/MittelTheme/Template/img/logo.svg" />