My theme for forester (+plugins)

handle routeless trees

+5 -1
+5 -1
tree.xsl
··· 154 154 </div> 155 155 </xsl:template> 156 156 157 - <xsl:template match="f:addr"> 157 + <xsl:template match="f:addr[../f:route]"> 158 158 <a class="slug" href="{../f:route}"> 159 159 <xsl:text>[</xsl:text> 160 160 <xsl:value-of select="." /> 161 161 <xsl:text>]</xsl:text> 162 162 </a> 163 163 </xsl:template> 164 + 165 + <xsl:template match="f:addr[not(../f:route)]"> 166 + </xsl:template> 167 + 164 168 165 169 <xsl:template match="f:source-path"> 166 170 <a class="edit-button" href="{concat('vscode://file', .)}">