Commit d7258fff authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Better inclusion of CSS file

parent c14dc57e
......@@ -7,7 +7,7 @@ class Plugin extends Base
public function initialize()
$this->template->hook->attach('template:layout:head', 'MittelTheme:layout/head');
$this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css'));
# $this->template->hook->attach('template:layout:top', 'MittelTheme:layout/top');
# $this->template->setTemplateOverride('header', 'mitteltheme:layout/header');
<link rel="stylesheet" type="text/css" href="<?= $this->url->dir(); ?>plugins/MittelTheme/Template/css/main.css" media="all" />
\ No newline at end of file
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