Skip to content

Commit

Permalink
Merge pull request #736 from tempertemper/release/6.0.3
Browse files Browse the repository at this point in the history
Release version 6.0.3
  • Loading branch information
tempertemper committed Jul 8, 2021
2 parents e89ce0b + 2211cf8 commit 1b4208a
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 16 deletions.
11 changes: 11 additions & 0 deletions .changelog
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ All notable changes to this project will be documented in this file. The format
----------


## [6.0.3] - 2021-07-08

### Removes
- Removes 'Read more' link from testimonials

### Fixes
- Uses `<ul>` rather than `<ol>` for featured blog posts
- Moves post in list styling to critical CSS to stop layout shift
- Adds index list marker removal to critical CSS to stop flash


## [6.0.2] - 2021-07-05

### Changes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tempertemper",
"version": "6.0.2",
"version": "6.0.3",
"description": "tempertemper's website",
"scripts": {
"clear": "rm -rf dist",
Expand Down
3 changes: 3 additions & 0 deletions src/scss/base/_utility--critical.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.index-list {
@include remove-list-styling;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
@include visually-hidden;
}

.index-list {
@include remove-list-styling;
}

.button {
@include button;
}
Expand Down
6 changes: 4 additions & 2 deletions src/scss/critical.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
'base/typography/general--critical',
'base/typography/headings--critical',
'base/links',
'base/images';
'base/images',
'base/utility--critical';

@import 'components/header',
'components/logo',
'components/skip-to-content',
'components/navigation';
'components/navigation',
'components/post-in-list';
3 changes: 1 addition & 2 deletions src/scss/non-critical.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
'base/buttons',
'base/forms',
'base/tables',
'base/utility';
'base/utility--non-critical';

@import 'components/syntax-highlighting',
'components/post-in-list',
'components/post-details',
'components/teaser',
'components/subscribe',
Expand Down
2 changes: 1 addition & 1 deletion src/site/_data/site.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "tempertemper",
"company": "tempertemper Web Design Ltd",
"version": "6.0.2",
"version": "6.0.3",
"url": "https://www.tempertemper.net",
"baseurl": "",
"repo": "https://github.com/tempertemper/tempertemper-website",
Expand Down
4 changes: 2 additions & 2 deletions src/site/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ <h1>
<section aria-labelledby="writing" class="teaser">
<h2 id="writing">Writing</h2>
<p>If you prefer to dive straight in rather than <a href="/blog/">see the full blog</a>, here are a couple of my favourite articles to get you started:</p>
<ol class="index-list" reversed>
<ul class="index-list" reversed>
{%- set posts = collections.post | reverse %}
{% for post in posts %}
{% if post.data.featured === true %}
{% include "post-in-list.html" %}
{% endif %}
{% endfor %}
</ol>
</ul>
</section>

<section aria-labelledby="my-favourite-subjects">
Expand Down
3 changes: 0 additions & 3 deletions src/site/testimonials.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ <h2><a href="{{ testimonial.url | replace(".html", "") }}">{{ testimonial.data.t
<blockquote>
&#8220;{{ testimonial.data.intro | markdown | safe | striptags(true) }}&#8221;
</blockquote>
<div class="read-more">
<a href="{{ testimonial.url | replace(".html", "") }}">View full testimonial<span class="visually-hidden"> from {{ testimonial.data.title }}</span></a>
</div>
</li>
{% endfor %}
</ul>

0 comments on commit 1b4208a

Please sign in to comment.