protected function getHead($css = false, $index = false) { $head = new Head(); $head->title = $this->title; $head->meta("Content-Type", "text/html; charset=utf-8", true); $head->meta("description", $this->meta_desc, false); $head->meta("keywords", $this->meta_key, false); $head->meta("viewport", "width=device-width", false); $head->meta("robots", $index ? "index, follow" : "noindex, nofollow", false); $head->favicon = "img/main/favicon.ico"; $head->css = $css; return $head; }
function build() { $head = new Head(); $head->meta(); $head->conditional_styles(); $head->stylesheets(); $head->scripts(); $head->rss_xml(); $head->user_scripts(); $head->output(); $head->add_ons(); }