Under normal circumstances, when you go to the home page of a Drupal site (i.e. node), drupal_set_title('') gets called. This clears the title in the content, and in phptemplate.engine causes the site name and site slogan to be displayed in the head tag.
If you set site_frontpage to be something else, however (e.g. a specific node, so as to have a static home page), the title of the node gets used instead, which may not be blank.
I'd like a custom home page to behave in the same way as the default home page, with the title cleared. I'm not sure whether it should be considered a bug in Drupal that it doesn't, but this module looks like a good place to add a switch for this behavior.
Do you agree? If so, I can write the code to make it happen, and submit it as a patch. If not, I'll create my own module, but I'd rather combine with an existing one if possible.
Comments
Comment #1
robertdouglass commentedI hadn't thought of this and it is a good point. Please do submit a patch against the current code to add the functionality. Thanks.
Comment #2
robertdouglass commentedstill looking for a patch from you.
Comment #3
johnalbinThe patch in comment #1 of issue 101310 addresses this issue.