Skip to content

Commit 677519f

Browse files
committed
Prep for adding navigation
1 parent 74a9b8a commit 677519f

File tree

6 files changed

+34
-31
lines changed

6 files changed

+34
-31
lines changed

_includes/layout.njk

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,20 @@
2121
<a href="/" class="logo">{% include 'html/logo.html' %}</a>
2222
</header>
2323

24-
<main>
25-
<h1 class="hero {{ heroModifier }}"><span class="layout">{{ pageTitle }}</span></h1>
24+
<h1 class="hero {{ heroModifier }}"><span class="layout">{{ pageTitle }}</span></h1>
2625

27-
<div class="layout">
26+
<div class="layout">
2827

29-
{{ content | safe }}
28+
<main>
3029

31-
</div>
30+
{{ content | safe }}
3231

33-
</main>
32+
</main>
3433

35-
<div class="layout">
3634
<aside>
3735
{% changelog filePath=page.inputPath %}
3836
</aside>
37+
3938
</div>
4039

4140
<footer>

_site/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
</a>
3535
</header>
3636

37-
<main>
38-
<h1 class="hero "><span class="layout">Online platforms &amp; standards</span></h1>
37+
<h1 class="hero "><span class="layout">Online platforms &amp; standards</span></h1>
3938

40-
<div class="layout">
39+
<div class="layout">
4140

42-
41+
<main>
42+
43+
4344
<p>An <dfn>online platform</dfn> is a set of shared components, tools, functions, services and documentation available for use across the organisation.<p>
4445

4546
<h2>Our principles</h2>
@@ -75,11 +76,9 @@ <h3>Work in the open</h3>
7576
</ul>
7677

7778

78-
</div>
7979

80-
</main>
80+
</main>
8181

82-
<div class="layout">
8382
<aside>
8483
<details><summary>Changelog</summary><ul><li>
8584
<time datetime="2022-06-09">2022-00-09</time>: Add structure and initial content for standards section
@@ -89,6 +88,7 @@ <h3>Work in the open</h3>
8988
<a href="https://github.com/barnardos/platforms-and-standards/commit/fbf74a5eaa1db23a289f3bca4c71a23b62563ed3">fbf74a5</a>
9089
</li></ul></details>
9190
</aside>
91+
9292
</div>
9393

9494
<footer>

_site/standards/index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
</a>
3535
</header>
3636

37-
<main>
38-
<h1 class="hero hero--standards"><span class="layout">Standards as a platform</span></h1>
37+
<h1 class="hero hero--standards"><span class="layout">Standards as a platform</span></h1>
3938

40-
<div class="layout">
39+
<div class="layout">
4140

42-
41+
<main>
42+
43+
4344
<p>If you are building a Barnardo's online product this is where you'll find the resources to make it to our standards.</p>
4445

4546

@@ -48,17 +49,15 @@ <h3><a href="/standards/web-accessibility/">Web accessibility</a></h3>
4849

4950

5051

51-
</div>
52+
</main>
5253

53-
</main>
54-
55-
<div class="layout">
5654
<aside>
5755
<details><summary>Changelog</summary><ul><li>
5856
<time datetime="2022-06-09">2022-00-09</time>: Add structure and initial content for standards section
5957
<a href="https://github.com/barnardos/platforms-and-standards/commit/8ecab62697dac81c2adfda4326dee53e84d76360">8ecab62</a>
6058
</li></ul></details>
6159
</aside>
60+
6261
</div>
6362

6463
<footer>

_site/standards/web-accessibility/index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
</a>
3535
</header>
3636

37-
<main>
38-
<h1 class="hero hero--standards"><span class="layout">Web accessibility</span></h1>
37+
<h1 class="hero hero--standards"><span class="layout">Web accessibility</span></h1>
3938

40-
<div class="layout">
39+
<div class="layout">
40+
41+
<main>
4142

42-
<p>It is a legal and moral obligation to make web content and functionality available to people with disabilities. This includes but is not limited to:</p>
43+
<p>It is a legal and moral obligation to make web content and functionality available to people with disabilities. This includes but is not limited to:</p>
4344
<ul>
4445
<li>Vision impairment</li>
4546
<li>Hearing impairment</li>
@@ -58,17 +59,18 @@ <h1 class="hero hero--standards"><span class="layout">Web accessibility</span></
5859
<p>We recommend <a href="https://tetralogical.com/">TetraLogical</a> for accessibility testing and reporting if the relevant expertise is not present in the team building your product.</p>
5960

6061

61-
</div>
62-
63-
</main>
62+
</main>
6463

65-
<div class="layout">
6664
<aside>
6765
<details><summary>Changelog</summary><ul><li>
66+
<time datetime="2022-06-09">2022-00-09</time>: Add paragraph about Flesch-Kincaid Grade Level
67+
<a href="https://github.com/barnardos/platforms-and-standards/commit/74a9b8a9a1ba468788d6a9a3dc1ff8bfbb411e6a">74a9b8a</a>
68+
</li><li>
6869
<time datetime="2022-06-09">2022-00-09</time>: Add structure and initial content for standards section
6970
<a href="https://github.com/barnardos/platforms-and-standards/commit/8ecab62697dac81c2adfda4326dee53e84d76360">8ecab62</a>
7071
</li></ul></details>
7172
</aside>
73+
7274
</div>
7375

7476
<footer>

index.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ pageTitle: Online platforms & standards
3838
<p>Educate, collaborate, share, and learn with external communities for the betterment of society. </p>
3939
</li>
4040
</ul>
41+

standards/index.njk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ layout: layout
33
title: Standards as a platform | Barnardo's
44
desc: The principles guiding the development of our online platforms
55
pageTitle: Standards as a platform
6-
tags: main
6+
tags: platform
7+
shortTitle: Standards
8+
permalink: standards/
79
heroModifier: hero--standards
810
---
911

0 commit comments

Comments
 (0)