I have the following line in the wintersmith layout.pug
:
...
head
meta(name='description' content=locals.description)
...
I know I can add to the head block in my article.pug
template, something like this:
...
block append head
meta(name='author' content=#{page.meta.author})
...
But now I have the description
meta header twice:
<meta name="description" content="The thing from config.json.">
<meta name="description" content="The thing from the individual article.">
Is there a way to replace a tag in pug template in wintersmith? I want to avoid to actually having to manually add meta tags in each of my templates.