Skip to content

Commit

Permalink
Merge pull request #50 from stebrech/v3.0.4
Browse files Browse the repository at this point in the history
- Update dependencies
- Remove service worker
  • Loading branch information
stebrech authored Mar 20, 2024
2 parents 1695846 + 5a9f964 commit 86badf2
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 121 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"dotenv": "^16.0.3",
"eleventy-plugin-toc": "^1.1.5",
"luxon": "^3.3.0",
"markdown-it": "^13.0.1",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^8.6.7",
"markdown-it-eleventy-img": "^0.10.1"
"markdown-it-eleventy-img": "0.10.1"
},
"keywords": [
"accessible",
Expand All @@ -28,7 +28,7 @@
},
"devDependencies": {
"@stebrech/prettier-config": "^1.0.0",
"prettier": "^2.8.8"
"prettier": "^3.2.5"
},
"prettier": "@stebrech/prettier-config",
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions src/assets/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
{#- Love for 11ty #}
<meta name="generator" content="{{ eleventy.generator }}">

{#- Remove former service worker #}
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.getRegistrations().then(function(registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
}
</script>

</head>
<body>
<a href="#primary" class="skip-link screen-reader-text">{{ i18n.site.skipToContent[page.lang] }}</a>
Expand Down
Loading

0 comments on commit 86badf2

Please sign in to comment.