Support for creating indivual link elements in Foundry
git-svn-id: https://svn.libreccm.org/ccm/trunk@4969 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
74df11a33f
commit
66dd115f11
|
|
@ -1676,6 +1676,24 @@
|
|||
</li>
|
||||
</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-desc>
|
||||
Generates a HTML5 <code>main</code> element.
|
||||
|
|
|
|||
Loading…
Reference in New Issue