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 308b2c7
Show file tree
Hide file tree
Showing 18 changed files with 285 additions and 252 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>
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.

12 changes: 7 additions & 5 deletions category/ai.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Artificial Intelligence"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Artificial Intelligence" %}
<main>
{% assign posts = site.categories["Artificial Intelligence"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Artificial Intelligence" %}
</main>
12 changes: 7 additions & 5 deletions category/cloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Cloud"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Cloud" %}
<main>
{% assign posts = site.categories["Cloud"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Cloud" %}
</main>
12 changes: 7 additions & 5 deletions category/data-engineering.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Data Engineering"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Data Engineering" %}
<main>
{% assign posts = site.categories["Data Engineering"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Data Engineering" %}
</main>
12 changes: 7 additions & 5 deletions category/delivery.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Delivery"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Delivery" %}
<main>
{% assign posts = site.categories["Delivery"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Delivery" %}
</main>
12 changes: 7 additions & 5 deletions category/open-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Open Source"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Open Source" %}
<main>
{% assign posts = site.categories["Open Source"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Open Source" %}
</main>
12 changes: 7 additions & 5 deletions category/people.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
- "/category/diversity.html"
---

{% assign posts = site.categories["People"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="People" %}
<main>
{% assign posts = site.categories["People"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="People" %}
</main>
12 changes: 7 additions & 5 deletions category/podcast.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Podcast"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Podcast" %}
<main>
{% assign posts = site.categories["Podcast"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Podcast" %}
</main>
12 changes: 7 additions & 5 deletions category/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Resources"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Resources" %}
<main>
{% assign posts = site.categories["Resources"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Resources" %}
</main>
12 changes: 7 additions & 5 deletions category/sustainability.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Sustainability"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Sustainability" %}
<main>
{% assign posts = site.categories["Sustainability"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Sustainability" %}
</main>
12 changes: 7 additions & 5 deletions category/tech.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Tech"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Tech" %}
<main>
{% assign posts = site.categories["Tech"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Tech" %}
</main>
12 changes: 7 additions & 5 deletions category/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["Testing"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Testing" %}
<main>
{% assign posts = site.categories["Testing"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="Testing" %}
</main>
12 changes: 7 additions & 5 deletions category/ux.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
image: "/assets/blog.png"
---

{% assign posts = site.categories["UX Design"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="UX Design" %}
<main>
{% assign posts = site.categories["UX Design"] %}
{% if posts %}
{% assign posts = posts | sort: 'date' | reverse | uniq %}
{% endif %}
{% include post_index.html posts=posts categoryName="UX Design" %}
</main>
16 changes: 9 additions & 7 deletions category/videos.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
summary: Talks and presentations given by the Scott Logic team
---

{% assign posts = "" | split: "," %}
{% for post in site.posts %}
{% if post.layout == 'video_post' %}
{% assign posts = posts | push: post %}
{% endif %}
{% endfor %}
{% include post_index.html posts=posts categoryName="Videos" %}
<main>
{% assign posts = "" | split: "," %}
{% for post in site.posts %}
{% if post.layout == 'video_post' %}
{% assign posts = posts | push: post %}
{% endif %}
{% endfor %}
{% include post_index.html posts=posts categoryName="Videos" %}
</main>
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
Tech, UX Design, Testing and Delivery.
---

{% include post_index.html posts=paginator.posts categoryName="Latest Articles" paginated=page.paginated %}
<main>
{% include post_index.html posts=paginator.posts categoryName="Latest Articles" paginated=page.paginated %}
</main>

0 comments on commit 308b2c7

Please sign in to comment.