Skip to content

Commit

Permalink
Uses main landmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarstairs-scottlogic committed Dec 11, 2023
1 parent 9da2aab commit 5c74cbf
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 188 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
paginated: false
---

<section class="error-page grid-container">
<main class="error-page grid-container">
<div class="grid-y">
<div class="cell large-8 large-offset-2 medium-10 medium-offset-1">
<h1 class="text-left">Sorry you've not found what you're looking for.</h1>
Expand All @@ -13,4 +13,4 @@ <h1 class="text-left">Sorry you've not found what you're looking for.</h1>
<p>Head back to our <a href="http://www.scottlogic.com/">Homepage</a> or <a href="http://blog.scottlogic.com/">Blog</a> and you'll find simple paths to all our most interesting content.</p>
</div>
</div>
</section>
</main>
4 changes: 2 additions & 2 deletions _includes/post_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% else %}
{% assign paginated = false %}
{% endif %}
<div class="post-index grid-container">
<main class="post-index grid-container">
{% if categoryName == "Latest Articles" %}
<h1 class="super-title">Blog</h1>
<h2 class="cell sub-title">Our thoughts on technology and design</h2>
Expand All @@ -29,6 +29,6 @@ <h1 class="sub-title">{{ categoryName }}</h1>
{% include author_list.html %}
</div>
</div>
</div>
</main>

{% include site-footer.html %}
5 changes: 3 additions & 2 deletions _layouts/default_author.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{% endfor %}
{% assign allEvents = allEvents | sort: 'eventDate' | reverse | uniq %}

<div class="default-author grid-container">
<main>
<div class="grid-padding-y">
<div class="cell">
{% include author.html author=author %}
Expand All @@ -48,5 +48,6 @@ <h4>Talks</h4>
</div>
</div>
</div>
</div>
</main>

{% include site-footer.html %}
208 changes: 105 additions & 103 deletions _layouts/default_post.html

Large diffs are not rendered by default.

156 changes: 79 additions & 77 deletions _layouts/video_post.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion category/sustainability.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Sustainability" %}
{% include post_index.html posts=posts categoryName="Sustainability" %}
2 changes: 1 addition & 1 deletion category/videos.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
{% assign posts = posts | push: post %}
{% endif %}
{% endfor %}
{% include post_index.html posts=posts categoryName="Videos" %}
{% include post_index.html posts=posts categoryName="Videos" %}

0 comments on commit 5c74cbf

Please sign in to comment.