Overriding the template name in XSLT
I have meta.xsl which contains metadata for I have a call pattern:
<xsl:call-template name="og-type" />
The template is located in meta.xsl (for all pages):
<xsl:template name="og-type">
<meta property="og:type" content="website"></meta>
</xsl:template>
The question is how to override this template, I need to use the overridden template in Articles.xsl (this is only for the article).
<xsl:template name="og-type">
<meta property="og:type" content="article"></meta>
</xsl:template>
Yes, I can put the first version of the template in Mainpage.xsl, but what if there are 10 more templates? I will get an error because it would be a challenge to nothing.