Fix page stylesheet #57

This commit is contained in:
grandeljay 2022-12-02 09:57:25 +01:00
parent b01d2933e3
commit 4c87241003

View file

@ -305,7 +305,7 @@ class Page
$stylesheet_page = 'src/assets/css/' . $this->name . '.css'; $stylesheet_page = 'src/assets/css/' . $this->name . '.css';
if (file_exists($stylesheet_page)) { if (file_exists($stylesheet_page)) {
$this->stylesheets[] = array('page' => $stylesheet_page); $this->stylesheets['page'] = $stylesheet_page;
} }
foreach ($this->stylesheets as $stylesheet_filepath) { foreach ($this->stylesheets as $stylesheet_filepath) {