diff --git a/templates/MainTemplate.php b/templates/MainTemplate.php index 87a1c0d..b5224fb 100644 --- a/templates/MainTemplate.php +++ b/templates/MainTemplate.php @@ -25,14 +25,22 @@ class MainTemplate extends Template echo ' - ', $this->title, '', !empty($this->canonical_url) ? ' - ' : '', ' + ', $this->title, ''; + + if (!empty($this->canonical_url)) + echo ' + '; + + echo ' + + '; + + echo ' + + - - ', !empty($this->css) ? ' - ' : '', $this->header_html, ' - + ' + , $this->header_html, ' classes) ? ' class="' . implode(' ', $this->classes) . '"' : '', '>
@@ -84,11 +92,6 @@ class MainTemplate extends Template '; } - public function appendCss($css) - { - $this->css .= $css; - } - public function appendHeaderHtml($html) { $this->header_html .= "\n\t\t" . $html;