[pLog-svn] r6029 - templates/branches/lifetype-1.2/subtle
Jon Daley
plogworld at jon.limedaley.com
Fri Nov 16 20:20:10 EST 2007
Well, it turns out this is actually set in the templates anyway,
and not in the core code (for the article view). Perhaps it should be in
the core code, but I don't feel strongly enough to break current templates
to change it.
On Sat, 10 Nov 2007, Reto Hugi wrote:
> Hi Jon
>
> Definitely a big yes from my side. I just didn't dare because Oscars
> comments here :) but I don't think he would mind if we did it ;-)
> http://forums.lifetype.net/viewtopic.php?t=5847
>
> cheers, reto
>
> On 11/10/2007 04:15 PM, Jon Daley wrote:
>> I had been wondering about doing this on my blog (and just did
>> it, since you provided the code, so I didn't have to think about it).
>> Perhaps we should change the pageTitle in the core code in 2.0?
>>
>> On Sat, 10 Nov 2007, reto at devel.lifetype.net wrote:
>>> Modified:
>>> templates/branches/lifetype-1.2/subtle/postandcomments.template
>>> Log:
>>> SEO fixes on post <title/>
>>>
>>> Modified: templates/branches/lifetype-1.2/subtle/postandcomments.template
>>> ===================================================================
>>> --- templates/branches/lifetype-1.2/subtle/postandcomments.template 2007-11-08 18:23:08 UTC (rev 6028)
>>> +++ templates/branches/lifetype-1.2/subtle/postandcomments.template 2007-11-10 14:25:45 UTC (rev 6029)
>>> @@ -1,5 +1,5 @@
>>> {assign var="postPageTitle" value=$post->getTopic()}
>>> - {assign var="postPageTitle" value=" | $postPageTitle"}
>>> + {assign var="blogTitle" value=$blog->getBlog()}
>>> {assign var="categories" value=$post->getCategories()}
>>>
>>> {assign var="postDate" value=$post->getDateObject()}
>>> @@ -7,7 +7,7 @@
>>>
>>> {assign var="archiveLink" value=$locale->formatDate($postDate,"%Y%m")}
>>>
>>> - {include file="$blogtemplate/header.template"}
>>> + {include file="$blogtemplate/header.template" pageTitle="$postPageTitle | $blogTitle"}
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
Never replicate a successful experiment.
-- Fett's Law
More information about the pLog-svn
mailing list