šablona/stránka-společné.xsl
changeset 127 4b02189672db
parent 126 be52f52e7d39
child 131 d47607999a8c
equal deleted inserted replaced
126:be52f52e7d39 127:4b02189672db
    82 		<meta content="{text()}" name="author"/>
    82 		<meta content="{text()}" name="author"/>
    83 	</xsl:template>
    83 	</xsl:template>
    84 	<xsl:template match="s:stránka/s:perex">
    84 	<xsl:template match="s:stránka/s:perex">
    85 		<meta content="{text()}" name="description"/>
    85 		<meta content="{text()}" name="description"/>
    86 	</xsl:template>
    86 	</xsl:template>
       
    87 	<xsl:template match="s:stránka/s:klíčováSlova">
       
    88 		<xsl:element name="meta">
       
    89 			<xsl:attribute name="content">
       
    90 				<xsl:for-each select="s:slovo">
       
    91 					<xsl:value-of select="text()"/>
       
    92 					<xsl:if test="not(position() = last())">, </xsl:if>
       
    93 				</xsl:for-each>
       
    94 			</xsl:attribute>
       
    95 			<xsl:attribute name="name">keywords</xsl:attribute>
       
    96 		</xsl:element>
       
    97 	</xsl:template>
    87 
    98 
    88 	<!--
    99 	<!--
    89 		Vloží nečíslovaný seznam obsahující hlavní nabídku webu (seznam stránek)
   100 		Vloží nečíslovaný seznam obsahující hlavní nabídku webu (seznam stránek)
    90 		Pro potřeby CSS stylování má nabídka @id='nabídka'
   101 		Pro potřeby CSS stylování má nabídka @id='nabídka'
    91 	-->
   102 	-->