From 299dbbb58f9b6c6c85563bba4d1e43ae514a7949 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 9 Dec 2014 19:03:28 +0100 Subject: Replaced function-like data resolution with template applications * e.g. article and tag support data is now fetched through direct _XPath_ template applications ** this required the introduction of a special `resolve` mode to prevent interaction between support and main content resolution ** in most cases arguments had to be wrapped inside helper constants to enable selection of e.g. article support data via the `@handle` attribute using the current elements `@handle` attribute * analogously to the recent changes in _StaticXSLT_ this commit aims to improve the XSLT code style used in generating this static website --- source/02_meta/tags.xsl | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'source/02_meta/tags.xsl') diff --git a/source/02_meta/tags.xsl b/source/02_meta/tags.xsl index 20b1f10..3c95932 100644 --- a/source/02_meta/tags.xsl +++ b/source/02_meta/tags.xsl @@ -12,17 +12,15 @@ - - - - - - - <xsl:value-of select="$article/self::title"/> - - - - + +
+ + <xsl:value-of select="title"/> + + + + +
@@ -32,11 +30,9 @@ -
- - - -
+ + +
-- cgit v1.2.3