@@ -7,39 +7,39 @@ breadcrumb: true
77<xsl : stylesheet version =" 1.0" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" {{ page.stylesheetAttributes }}>
88<xsl : output method =" html" encoding =" utf-8" />
99<xsl : template match =" {{ page.rootMatcher }}" >
10- <xsl : text disable-output-escaping =" yes" >< !DOCTYPE html > </xsl : text >
11- <html >
12- <head >
13- <xsl : text disable-output-escaping =" yes" ><![CDATA[
14- {% include head %}
15- ]]> </xsl : text >
16- </head >
17- <body id =" top-of-page" >
18- <xsl : text disable-output-escaping =" yes" ><![CDATA[
19- {% include navigation %}
20- {% include masthead %}
21- <div class="row t20">
22- <div class="columns">
23- {% include alert warning=page.disclaimer classes="text-center" %}
24- </div>
25- </div>
26- ]]> </xsl : text >
27- {{ content }}
28- <xsl : text disable-output-escaping =" yes" ><![CDATA[
29- {% include footer %}
30- {% include footer-scripts %}
31- ]]> </xsl : text >
32- </body >
33- </html >
10+ <xsl : text disable-output-escaping =" yes" >< !DOCTYPE html > </xsl : text >
11+ <html >
12+ <head >
13+ <xsl : text disable-output-escaping =" yes" ><![CDATA[
14+ {% include head %}
15+ ]]> </xsl : text >
16+ </head >
17+ <body id =" top-of-page" >
18+ <xsl : text disable-output-escaping =" yes" ><![CDATA[
19+ {% include navigation %}
20+ {% include masthead %}
21+ <div class="row t20">
22+ <div class="columns">
23+ {% include alert warning=page.disclaimer classes="text-center" %}
24+ </div>
25+ </div>
26+ ]]> </xsl : text >
27+ {{ content }}
28+ <xsl : text disable-output-escaping =" yes" ><![CDATA[
29+ {% include footer %}
30+ {% include footer-scripts %}
31+ ]]> </xsl : text >
32+ </body >
33+ </html >
3434</xsl : template >
3535<xsl : template name =" slugify" >
36- <xsl : param name =" text" select =" ''" />
37- <xsl : variable name =" dodgyChars" select =" ' ,.#_-!?*:;=+|& /\\'" />
38- <xsl : variable name =" replacementChar" select =" '-----------------'" />
39- <xsl : variable name =" lowercase" select =" 'abcdefghijklmnopqrstuvwxyz'" />
40- <xsl : variable name =" uppercase" select =" 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
41- <xsl : variable name =" lowercased" ><xsl : value-of select =" translate( $text, $uppercase, $lowercase )" /></xsl : variable >
42- <xsl : variable name =" escaped" ><xsl : value-of select =" translate( $lowercased, $dodgyChars, $replacementChar )" /></xsl : variable >
43- <xsl : value-of select =" $escaped" />
36+ <xsl : param name =" text" select =" ''" />
37+ <xsl : variable name =" dodgyChars" select =" ' ,.#_-!?*:;=+|& /\\'" />
38+ <xsl : variable name =" replacementChar" select =" '-----------------'" />
39+ <xsl : variable name =" lowercase" select =" 'abcdefghijklmnopqrstuvwxyz'" />
40+ <xsl : variable name =" uppercase" select =" 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
41+ <xsl : variable name =" lowercased" ><xsl : value-of select =" translate( $text, $uppercase, $lowercase )" /></xsl : variable >
42+ <xsl : variable name =" escaped" ><xsl : value-of select =" translate( $lowercased, $dodgyChars, $replacementChar )" /></xsl : variable >
43+ <xsl : value-of select =" $escaped" />
4444</xsl : template >
4545</xsl : stylesheet >
0 commit comments