diff --git a/_layouts/default_author.html b/_layouts/default_author.html index bf0591fa17..7e4cc90f38 100644 --- a/_layouts/default_author.html +++ b/_layouts/default_author.html @@ -21,7 +21,7 @@ {% endfor %} {% assign allEvents = allEvents | sort: 'eventDate' | reverse | uniq %} -
+
{% include author.html author=author %} @@ -48,5 +48,6 @@

Talks

- + + {% include site-footer.html %} diff --git a/_layouts/default_post.html b/_layouts/default_post.html index 07b58720e9..85be821ade 100644 --- a/_layouts/default_post.html +++ b/_layouts/default_post.html @@ -4,123 +4,125 @@ {% assign author = site.data.authors.authors[page.author] %} {% assign authorUsername = page.author %} -
-
-
-
- {% include category_display.html post = page %} - · - {{ page.date | date: "%d %B %Y" }} - · - {% include reading_time.html post=post %} -
-
-

{{ page.title }}

+
+
+
+
+
+ {% include category_display.html post = page %} + · + {{ page.date | date: "%d %B %Y" }} + · + {% include reading_time.html post=post %} +
+
+

{{ page.title }}

+
+ {% if page.cta %} + + {% endif %} + {% if page.canonical_url %} + + {% else %} + + {% endif %}
- {% if page.cta %} -
- → {{ page.cta.text }} +
+ {% capture shape %}{% include post_shape.html post=page %}{% endcapture %} + {% assign shape = shape | strip %} + {% case shape %} + {% when "shape1" %} + + + + + + + + {% when "shape2" %} + + + + + + + + {% when "shape3" %} + + + + + + + + {% when "shape4" %} + + + + + + + {% else %} + + + + + + + + {% endcase %}
- {% endif %} - {% if page.canonical_url %} - - {% else %} - - {% endif %} -
-
- {% capture shape %}{% include post_shape.html post=page %}{% endcapture %} - {% assign shape = shape | strip %} - {% case shape %} - {% when "shape1" %} - - - - - - - - {% when "shape2" %} - - - - - - - - {% when "shape3" %} - - - - - - - - {% when "shape4" %} - - - - - - - {% else %} - - - - - - - - {% endcase %}
-
-
- -
-
- {{ content }} +
+ +
+
+ {{ content }} +
- {% if site.data.related contains post.url %} - - {% endif %} + {% if site.data.related contains post.url %} + + {% endif %} - {% include recruitment.html page=page %} -
-
- {% assign author = site.data.authors.authors[page.author] %} - {% assign authorUsername = page.author %} - {% include author_summary.html %} - {% for contributorId in page.contributors %} - {% assign author = site.data.authors.authors[contributorId] %} - {% assign authorUsername = contributorId %} + {% include recruitment.html page=page %} +
+
+ {% assign author = site.data.authors.authors[page.author] %} + {% assign authorUsername = page.author %} {% include author_summary.html %} - {% endfor %} - {% include category_list.html selectedIndex=0 %} -
- Back to all posts + {% for contributorId in page.contributors %} + {% assign author = site.data.authors.authors[contributorId] %} + {% assign authorUsername = contributorId %} + {% include author_summary.html %} + {% endfor %} + {% include category_list.html selectedIndex=0 %} +
-
-
+
+
{% include site-footer.html %} diff --git a/_layouts/video_post.html b/_layouts/video_post.html index 84b1faff88..b49c2fdcd7 100644 --- a/_layouts/video_post.html +++ b/_layouts/video_post.html @@ -4,95 +4,97 @@ {% assign author = site.data.authors.authors[page.author] %} {% assign authorUsername = page.author %} -
-
-
-
- {% include category_display.html post = page %} - · - {{ page.date | date: "%d %B %Y" }} +
+
+
+
+
+ {% include category_display.html post = page %} + · + {{ page.date | date: "%d %B %Y" }} +
+
+

{{ page.title }}

+
+ {% if page.cta %} + + {% endif %}
-
-

{{ page.title }}

+
+ {% capture shape %}{% include post_shape.html post=page %}{% endcapture %} + {% case shape %} + {% when "shape2" %} + + + + + + + + {% when "shape3" %} + + + + + + + + {% when "shape4" %} + + + + + + + + {% else %} + + + + + + + + {% endcase %}
- {% if page.cta %} -
- → {{ page.cta.text }} +
+
- {% endif %}
-
- {% capture shape %}{% include post_shape.html post=page %}{% endcapture %} - {% case shape %} - {% when "shape2" %} - - - - - - - - {% when "shape3" %} - - - - - - - - {% when "shape4" %} - - - - - - - - {% else %} - - - - - - - - {% endcase %} -
-
- -
-
-
-
+
{% include site-footer.html %} diff --git a/category/ai.html b/category/ai.html index ef65b5e8d2..bdf9ad70df 100644 --- a/category/ai.html +++ b/category/ai.html @@ -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" %} +
+ {% 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" %} +
diff --git a/category/cloud.html b/category/cloud.html index 9f86b53799..966cbbb400 100644 --- a/category/cloud.html +++ b/category/cloud.html @@ -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" %} +
+ {% assign posts = site.categories["Cloud"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Cloud" %} +
diff --git a/category/data-engineering.html b/category/data-engineering.html index c019484d47..7f7b9ddcce 100644 --- a/category/data-engineering.html +++ b/category/data-engineering.html @@ -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" %} +
+ {% 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" %} +
diff --git a/category/delivery.html b/category/delivery.html index d5ab1c319e..cf10c67d71 100644 --- a/category/delivery.html +++ b/category/delivery.html @@ -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" %} +
+ {% assign posts = site.categories["Delivery"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Delivery" %} +
diff --git a/category/open-source.html b/category/open-source.html index 5d63005cbc..36ba87df60 100644 --- a/category/open-source.html +++ b/category/open-source.html @@ -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" %} +
+ {% 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" %} +
diff --git a/category/people.html b/category/people.html index 4f922f9caa..6b785670ce 100644 --- a/category/people.html +++ b/category/people.html @@ -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" %} +
+ {% assign posts = site.categories["People"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="People" %} +
diff --git a/category/podcast.html b/category/podcast.html index 88cb08018b..1b6de325dc 100644 --- a/category/podcast.html +++ b/category/podcast.html @@ -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" %} +
+ {% assign posts = site.categories["Podcast"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Podcast" %} +
diff --git a/category/resources.html b/category/resources.html index c9b9d74475..c026436ba9 100644 --- a/category/resources.html +++ b/category/resources.html @@ -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" %} +
+ {% assign posts = site.categories["Resources"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Resources" %} +
diff --git a/category/sustainability.html b/category/sustainability.html index 3088c02ce5..83ed71c08b 100644 --- a/category/sustainability.html +++ b/category/sustainability.html @@ -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" %} \ No newline at end of file +
+ {% assign posts = site.categories["Sustainability"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Sustainability" %} +
diff --git a/category/tech.html b/category/tech.html index 95258ef65d..3d47b35889 100644 --- a/category/tech.html +++ b/category/tech.html @@ -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" %} +
+ {% assign posts = site.categories["Tech"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Tech" %} +
diff --git a/category/test.html b/category/test.html index 7ccf1e1860..6f8f5ff82e 100644 --- a/category/test.html +++ b/category/test.html @@ -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" %} +
+ {% assign posts = site.categories["Testing"] %} + {% if posts %} + {% assign posts = posts | sort: 'date' | reverse | uniq %} + {% endif %} + {% include post_index.html posts=posts categoryName="Testing" %} +
diff --git a/category/ux.html b/category/ux.html index 6ae50f95fa..67f0d18237 100644 --- a/category/ux.html +++ b/category/ux.html @@ -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" %} +
+ {% 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" %} +
diff --git a/category/videos.html b/category/videos.html index 796b57c138..c297da54a4 100644 --- a/category/videos.html +++ b/category/videos.html @@ -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" %} \ No newline at end of file +
+ {% 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" %} +
diff --git a/index.html b/index.html index 38534dc4c1..9a4202afe2 100644 --- a/index.html +++ b/index.html @@ -7,4 +7,6 @@ Tech, UX Design, Testing and Delivery. --- -{% include post_index.html posts=paginator.posts categoryName="Latest Articles" paginated=page.paginated %} +
+ {% include post_index.html posts=paginator.posts categoryName="Latest Articles" paginated=page.paginated %} +