[theme] - [bloggish] - [fix Page::print_custom_head()]

Oct 10, 2005 22:27

with Page::print_head() being called before the tag for the s2-generated stylesheet, Page::print_custom_head() is unable to override anything that exists in any of the other stylesheets.

function Page::print () {

var string lay = get_layout();
var string body_layout_class = body_class($lay);

"""

""" + $this->title() + """""";

if ($*external_stylesheet) {
println """""";
} else {
println """""";
}

# move this down here so that anything in Page::print_custom_head() correctly
# overrides things in the @import-ed stylesheets
$this->print_head();

"""

""";

$this->print_control_strip();

container_open("container");
print_banner($this);
container_open("pagebody");

render_layout($this, $lay);

container_close();
container_close();
"";
}

function print, class page, layout bloggish

Previous post Next post
Up