Skip to content

Commit 34ce0e5

Browse files
committed
Update site title
1 parent fab41b5 commit 34ce0e5

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: "Write an awesome description for your new site here. You can edit
55
baseurl: ""
66
url: "https://csswizardry.com"
77
future: true
8+
sw: "0008"
89

910
# Build settings
1011
markdown: kramdown

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
</style>
3737

38-
<title>{{ page.title }} &ndash; CSS Wizardry &ndash; CSS, OOCSS, front-end architecture, performance and more, by Harry Roberts</title>
38+
<title>{{ page.title }} &ndash; CSS Wizardry &ndash; CSS Architecture, Web Performance Optimisation, and more, by Harry Roberts</title>
3939

4040
<meta name="twitter:card" content="summary">
4141
<meta name="twitter:site" content="@csswizardry">

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script>
1111
if ('serviceWorker' in navigator) {
1212
window.addEventListener('load', function() {
13-
navigator.serviceWorker.register('/sw.js?0007').then(function(registration) {
13+
navigator.serviceWorker.register('/sw.js?{{ site.sw }}').then(function(registration) {
1414
// Successfully registered the Service Worker
1515
//console.log('Service Worker registration successful with scope: ', registration.scope);
1616
}).catch(function(err) {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: landing
3-
title: Home
3+
title: CSS Architecture and Performance Engineering
44
masthead-title: Front-end Architecture and Performance Engineering
55
page-class: page--home
66
---

sw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var cacheName = 'csswizardry:0007';
1+
var cacheName = 'csswizardry:0008';
22
var cacheFiles = [
33
'/',
44
'/about/',
@@ -66,7 +66,7 @@ self.addEventListener('fetch', function(event) {
6666
// Empty out any caches that don’t match the ones listed.
6767
self.addEventListener('activate', function(event) {
6868

69-
var cacheWhitelist = ['csswizardry:0007'];
69+
var cacheWhitelist = ['csswizardry:0008'];
7070

7171
event.waitUntil(
7272
caches.keys().then(function(cacheNames) {

0 commit comments

Comments
 (0)