tweet.xsl

master
Charles Iliya Krempeaux 2023-12-15 12:53:16 -08:00
parent 256a1a3c2e
commit 30cd7775f3
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@
<p>at <time><xsl:value-of select="created_at" /></time></p>
</main>
<section>
<xsl:variable name="threadid" select="thread/id[1]" />
<xsl:variable name="threadpath" select="concat('../../thread/', $threadid, '/thread.xml')" />
<xsl:if test="thread/id"><a href="{$threadpath}">view as thread</a></xsl:if>
<nav>
<ul class="tweet-thread">
<xsl:for-each select="thread/id">