Re: Adding title to head template for perma links
Steven Armstrong <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On 09/03/06 22:24, Christopher Baus wrote: > Hi, > > I would like the title of the entry to display when viewing a permalink. > For instance when viewing: http://baus.net/identity-rabbit-hole I would > like the HTML title to show "The Web 2.0 identity rabbit hole." But > $title is only available for story templates. > > Maybe there is already a work around. If not a solution might be to have > $title resolve to an empty string in head templates when not viewing a > permalink, but resolve to the article title when viewing a permalink. > > Is anybody else interested in this functionality? If so I might try to put > a patch together. > > http://baus.net/ > > Hi Christopher Joe Gregorio once wrote a plugin for just that, but it seems it's not online anymore. I've put a modified version on my site [1]. If you decide to use it you'll have to change the variable name for the title in your head template to $blog_page_title. hth cheers Steven [1] http://www.c-area.ch/code/pyblosxom/plugins/title.py ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642