Andrew Geissler | 4873add | 2020-11-02 18:44:49 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <xsl:stylesheet version="1.0" |
| 3 | xmlns="http://www.w3.org/1999/xhtml" |
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 5 | |
| 6 | <xsl:param name="generate.permalink" select="1"/> |
| 7 | <xsl:param name="permalink.text">ΒΆ</xsl:param> |
| 8 | |
| 9 | <xsl:template name="permalink"> |
| 10 | <xsl:param name="node"/> |
| 11 | |
| 12 | <xsl:if test="$generate.permalink != '0'"> |
| 13 | <span class="permalink"> |
| 14 | <a alt="Permalink" title="Permalink"> |
| 15 | <xsl:attribute name="href"> |
| 16 | <xsl:call-template name="href.target"> |
| 17 | <xsl:with-param name="object" select="$node"/> |
| 18 | </xsl:call-template> |
| 19 | </xsl:attribute> |
| 20 | <xsl:copy-of select="$permalink.text"/> |
| 21 | </a> |
| 22 | </span> |
| 23 | </xsl:if> |
| 24 | </xsl:template> |
| 25 | </xsl:stylesheet> |