Support for creating indivual link elements in Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@4969 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2017-08-31 15:46:14 +00:00
parent 74df11a33f
commit 66dd115f11
1 changed files with 18 additions and 0 deletions

View File

@ -1676,6 +1676,24 @@
</li> </li>
</xsl:template> </xsl:template>
<foundry:doc section="user" type="template-tag">
<foundry:doc-desc>
Generates a link element. Only usable in the <code>head</code>.
</foundry:doc-desc>
<foundry:doc-see-also>
<foundry:doc-link href="https://www.w3.org/TR/html/document-metadata.html#the-link-element">
Description of the <code>link</code> link element in the HTML specification
</foundry:doc-link>
</foundry:doc-see-also>
</foundry:doc>
<xsl:template match="head/link">
<link>
<xsl:call-template name="foundry:process-layouttree-attributes">
<xsl:with-param name="copy-attributes" select="'href crossorigin rel rev media hreflang type sizes'" />
</xsl:call-template>
</link>
</xsl:template>
<foundry:doc section="user" type="template-tag"> <foundry:doc section="user" type="template-tag">
<foundry:doc-desc> <foundry:doc-desc>
Generates a HTML5 <code>main</code> element. Generates a HTML5 <code>main</code> element.