For example, in master.html I have:
<meta name="description" content="This is a really cool site." />
Then on home.html I have:
<meta name="description" content="Something different" />
But when the Home page renders, the source shows both meta elements.
Is there a way to automatically override a specific element on the child
template?
Is it possible without having to have a meta description element on each
template file?
I thought py:replace="''" would have something to do with it, but to no
avail.
Thanks for any help.
-Rodney
We currently use something along these lines, not sure if there is a
more elegant solution
master.html
<head>
<title py:if="defined("title")" py:content="title"/>
</head>
home.html
<?python
title = "some title"
?>
Diez