Skip to content
Browse files

tweak my web site xslt

  • Loading branch information...
1 parent bd1140f commit b06bea18de5ca9fcfc3bae744221b8b3b1dcd94b Fletcher T. Penney committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 XSLT/xhtml-static-site.xslt
View
5 XSLT/xhtml-static-site.xslt
@@ -73,9 +73,8 @@
<div class="date"><xsl:value-of select="/xhtml:html/xhtml:head/xhtml:meta[translate(@name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz') = 'date']/@content"/>
</div>
</xsl:if>
- <xsl:if test="/xhtml:html/xhtml:head/xhtml:meta[translate(@name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz') = 'tags-disabled']/@content != ''">
- <div class="tags">Tags: <xsl:value-of select="/xhtml:html/xhtml:head/xhtml:meta[translate(@name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz') = 'tags']/@content"/>
- </div>
+ <xsl:if test="/xhtml:html/xhtml:head/xhtml:meta[translate(@name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz') = 'tags']/@content != ''">
+ <xsl:text disable-output-escaping="yes"><![CDATA[<!--#include virtual="/cgi/tags.cgi" -->]]></xsl:text>
</xsl:if>
<xsl:apply-templates select="@*|node()"/>
<xsl:text disable-output-escaping="yes"><![CDATA[<!--#include virtual="/templates/footer.html" -->]]></xsl:text>

0 comments on commit b06bea1

Please sign in to comment.
Something went wrong with that request. Please try again.