[pLog-svn] r6029 - templates/branches/lifetype-1.2/subtle
Jon Daley
plogworld at jon.limedaley.com
Sat Nov 10 10:15:05 EST 2007
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"}
More information about the pLog-svn
mailing list