aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-26 10:16:32 +0200
committerAdrian Kummerlaender2014-07-26 10:16:32 +0200
commitb22acff1ce34b48249478de40cf7deab4ad78ed6 (patch)
treebc19f33aa4e9409f0d056cb8da24501da35dfc95 /utility
parent04dd5fb877a3cc13eff4868018e518f479a34bda (diff)
downloadblog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar.gz
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar.bz2
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar.lz
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar.xz
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.tar.zst
blog.kummerlaender.eu-b22acff1ce34b48249478de40cf7deab4ad78ed6.zip
Included unaugmented tag datasource into the page footer
* the master template generates a list of all available tags into the footer ** this currently requires the unaugmented tags datasource to be included into every template making use of the master template
Diffstat (limited to 'utility')
-rw-r--r--utility/master.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/utility/master.xsl b/utility/master.xsl
index e9e2661..da4343b 100644
--- a/utility/master.xsl
+++ b/utility/master.xsl
@@ -18,6 +18,18 @@
<xsl:variable name="url" select="datasource/meta/url"/>
+<xsl:template name="list_tags">
+ <ul>
+ <xsl:for-each select="datasource/tags/entry">
+ <li>
+ <a href="{$url}/tag/{@handle}">
+ <xsl:value-of select="@handle"/>
+ </a>
+ </li>
+ </xsl:for-each>
+ </ul>
+</xsl:template>
+
<xsl:template match="/">
<html>
<head>
@@ -48,6 +60,10 @@
<xsl:apply-templates />
</div>
<div id="footer_wrap">
+ <div class="right taglist">
+ Tags:
+ <xsl:call-template name="list_tags"/>
+ </div>
</div>
<div id="last_line">
<a href="https://github.com/KnairdA/InputXSLT">Made with XSLT</a>