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 6, 2023
1 parent da3124b commit fe1f5fe
Show file tree
Hide file tree
Showing 17 changed files with 289 additions and 256 deletions.
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 %}
218 changes: 110 additions & 108 deletions _layouts/default_post.html

Large diffs are not rendered by default.

158 changes: 80 additions & 78 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 fe1f5fe

Please sign in to comment.