Sunday, January 28, 2007

Entry Titles in Permalink pages

Thanks to Alexis and Dave I have updated my template to use the title of the entry being viewed from a permalink.

 Using Roller 2.x: "Preferences" -> "Templates" -> "Weblog" Edit -> locate the <title> </title> tags and replace them with the following:

#if ($pageModel.getWeblogEntry())
   <title>#showWebsiteTitle(): $pageModel.getWeblogEntry().title</title>
#else
   <title>#showWebsiteTitle(): #showWebsiteDescription()</title>
#end
 

No comments:

Post a Comment