Commit a60dcc9c authored by Jordan Breton's avatar Jordan Breton

Added : CSS and JS in SiteLayout to simplify CSS and JS insertion

parent b5dc6f7d
......@@ -142,4 +142,18 @@ class SiteLayout extends Layout {
public function getNotifier():INotifier {
return $this->_notifier;
}
/**
* @return string
*/
public function CSS():string{
return $this->registerPostAction($this->getCSSImportCallable());
}
/**
* @return string
*/
public function JS():string{
return $this->registerPostAction($this->getJSImportCallable());
}
}
\ 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