Skip to content

Commit b4f0e59

Browse files
author
turtle
committed
fix: restore lint and improve adblock page metadata
1 parent 1f2d0e9 commit b4f0e59

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.eslintrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
es6: true
55
},
66
extends: ['eslint:recommended', 'prettier'],
7-
plugins: ['prettier'],
87
globals: {
98
Atomics: 'readonly',
109
SharedArrayBuffer: 'readonly'
@@ -14,7 +13,6 @@ module.exports = {
1413
sourceType: 'module'
1514
},
1615
rules: {
17-
'prettier/prettier': 'error',
1816
'no-unused-vars': 0,
1917
'no-undef': 0
2018
}

src/index.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<%- include('partials/head.ejs',
44
{
55
page:'adblock',
6-
title:'Ad Blocker Test - Check Your Adblocker Works | Turtlecute',
7-
description:"Free online ad blocker test. Check if your adblocker, DNS filter, or VPN blocks ads, trackers, and analytics scripts. One-click test with detailed results.",
6+
title:'Ad Blocker Test | Check if Your Ad Blocker Works',
7+
description:"Free ad blocker test for browsers, DNS filters, and VPNs. See whether ads, trackers, and analytics scripts are blocked in one click with detailed results.",
88
url: 'adblock.turtlecute.org',
99
canonical: 'https://adblock.turtlecute.org/',
1010
faqSchema: true,
@@ -122,7 +122,7 @@
122122
</noscript>
123123
<div id="m_test">
124124
<section>
125-
<h1 class="sr-only">Ad Blocker Test - Check If Your Adblocker Is Working</h1>
125+
<h1 class="sr-only">Ad Blocker Test</h1>
126126
<div class="grid">
127127
<div>
128128
<div class="lt_wrap">

src/partials/header.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</a>
5050
</li>
5151
<li>
52-
<div class="nav-item theme-toggle" role="switch" tabindex="0" aria-checked="false">
52+
<div class="nav-item theme-toggle" role="switch" tabindex="0" aria-checked="false" aria-label="Toggle dark mode">
5353
<span class="light-icon theme-icon">
5454
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
5555
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>

0 commit comments

Comments
 (0)