Skip to content

Commit 659fc48

Browse files
committed
Polishing
1 parent 790bc3b commit 659fc48

File tree

3 files changed

+47
-47
lines changed

3 files changed

+47
-47
lines changed

_layouts/default.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
<!doctype html>
55
<html class="no-js" lang="{% if site.language == nil %}en{% else %}{{ site.language }}{% endif %}">
66
<head>
7-
{% include head %}
7+
{% include head %}
88
</head>
99
<body id="top-of-page" class="{{ page.format }}" itemscope itemtype="http://schema.org/WebPage">
1010

11-
{% unless page.skip_boilerplate %}
12-
{% include navigation %}
13-
{% endunless %}
11+
{% unless page.skip_boilerplate %}
12+
{% include navigation %}
13+
{% endunless %}
1414

15-
{{ content }}
15+
{{ content }}
1616

17-
{% unless page.skip_boilerplate %}
18-
{% include footer %}
19-
{% endunless %}
17+
{% unless page.skip_boilerplate %}
18+
{% include footer %}
19+
{% endunless %}
2020

21-
{% include footer-scripts %}
21+
{% include footer-scripts %}
2222

2323
</body>
2424
</html>

_layouts/xml-style.xsl

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -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">&lt;!DOCTYPE html &gt;</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">&lt;!DOCTYPE html &gt;</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="' ,.#_-!?*:;=+|&amp;/\\'" />
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="' ,.#_-!?*:;=+|&amp;/\\'" />
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>

_sass/_colors.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ $link-color: #1E91BB;
2121
// https://color.adobe.com/de/Flat-Design-Colors-v2-color-theme-4341903/
2222
//----------------------------------------------------------------------
2323

24-
$ci-0: #4B555A; // dark turquoise
25-
$ci-1: #707D83; // dark turquoise
26-
$ci-2: #8395A7; // turquoise
27-
$ci-3: #EFC94C; // yellow
28-
$ci-4: #E27A3F; // orange
29-
$ci-5: #F02B2B; // red
24+
$ci-0: #4B555A; // dark turquoise
25+
$ci-1: #707D83; // dark turquoise
26+
$ci-2: #8395A7; // turquoise
27+
$ci-3: #EFC94C; // yellow
28+
$ci-4: #E27A3F; // orange
29+
$ci-5: #F02B2B; // red
3030
$ci-6: #FCFCFC; // green
3131

3232
// Grey Scale

0 commit comments

Comments
 (0)