diff --git a/content/offline.md b/content/offline.md index ac70121..45eda15 100644 --- a/content/offline.md +++ b/content/offline.md @@ -46,7 +46,7 @@ async function listPages() { if (url.includes('/blog')) { console.log(url) const post = await cache.match(request); - if (post.headers.get('content-type') === 'text/html') { + if (post.headers.get('content-type').includes('text/html')) { const body = await post.text(); console.log(body) const title = body.match(/(.*)<\/title>/)[1]; diff --git a/themes/pulp b/themes/pulp index be3e20f..55a8368 160000 --- a/themes/pulp +++ b/themes/pulp @@ -1 +1 @@ -Subproject commit be3e20feb6562044b0b6559810d4482bf90f9ef2 +Subproject commit 55a8368001d86661596f3deda3a7dc291ae864d6