ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [community profile] getting_started 2009-05-10 10:30 am (UTC)

Hmmm, wonder if I could hack it so that on journal home/recent entries page it shows journal title/subtitle, but on everything else it shows page title/journal title? Probably...

Sure you can. Maybe this:
function Page::print_head_title() 
{
    if ($this isa RecentPage) {
        print """<title>""" + $.global_title + $*text_default_separator + $.global_subtitle + """</title>n""";
    }
    else {
        print """<title>""" + $this->view_title() + $*text_default_separator + $.global_title + """</title>n""";
    }
}


And then you'd have to edit some view_title functions so that they display the page title to your liking.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org