Header: $head_title / $head_subtitle

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Header: $head_title / $head_subtitle

Post by JWalker »

There is opposite behavior:

The positions of $head_title and $head_subtitle:

When the main front page is shown (the entries follow one by one), the blog title appears above the blog description.

When an entry is shown (with the comments, trackbacks and the other entry stuff), the name of the entry is shown above the blog title. The same is in the static pages: the blog title is below the static page name.

This results that the blog title changes its place in the header, and eventually its font-size, style (italic, bold...).

Is this intended behavior ?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Header: $head_title / $head_subtitle

Post by garvinhicking »

Hi!

Yes, this is intended behaviour, because we give more weight to the entry title than the blog title. It's like this since Serendipity 0.1 default templates. :-)

Your index.tpl template file can override this behaviour of course.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

Hm, it makes sense ...
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Post Reply