BlogHarbor Home Page
FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  UsergroupsRSS   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to Change part of the Index Page Title
 
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
vbindi



Joined: 30 Nov 2005
Posts: 12

PostPosted: Thu Jan 12, 2006 12:48 am    Post subject: How to Change part of the Index Page Title Reply with quote

In the Index (or Main) Page, the Title Tag reads: "blog Name" :: Main Page Is there a way to change the 'Main Page' part of this Title Tag and have it display something more custom???
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Tue Jan 24, 2006 7:53 pm    Post subject: Re: How to Change part of the Index Page Title Reply with quote

In the Index (or Main) Page, the Title Tag reads: "blog Name" :: Main Page Is there a way to change the 'Main Page' part of this Title Tag and have it display something more custom???

Sorry I missed this one when you initially posted it. Yes, it is possible. You would need to alter your base template. This thread has instructions for modifying your base template.

Look for this at the top of the template:

Code:
<title>{{blog.name}}{{if page.title}} :: {{page.title}}{{/if}}</title>


and change it to this:

Code:
{{if category.label eq "Main Page"}}
<title>{{blog.name}} :: Your custom text</title>
{{else}}<title>{{blog.name}}{{if page.title}} :: {{page.title}}{{/if}}</title>
{{/if}}


Of course you should change Your custom text to whatever you want.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Search all BlogHarbor support resources.
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum