kjettil at wanadoo.fr
Fri Mar 4 02:14:23 CST 2011
Hans wrote, On 2011-03-04 00:20:
> Thursday, March 3, 2011, 8:40:51 PM, kjettil wrote:
>> I always use my own skins, with only $WikiTitle and $Title in the
>> <title> tag. For $WikiTitle I use a word or a set of words that overall
>> describe the contents of the site in terms that may be useful for search
>> engines. Equally, I select with (:title:) a $Title for each page that
>> relates to the contents of that page.
> Thank you, that sounds reasonable.
> One problem I noticed with this is that if a page has
> a (:notitle:) directive, the title (as page name)
> still appears in the<title> tag.
> To suppress injection of that I had to extend the (:notitle:) Markup
> function in my skin, using a new variable $HTMLTitle in the template:
Never used (:notitle:) so I wasn't aware of this potential problem.
Thanks for sharing a solution to this "flaw". I may need it the future.
More information about the pmwiki-users