diff options
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html index 64ff118..1f8d656 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -12,8 +12,15 @@ <div class="contain center"> <h1 class="bold">{{ T "notFound" }}</h1> + <p class="affected-text hidden">{{ T "notFoundAffected" }}</p> <p>{{ T "notFoundText" }}</p> </div> + + <script> + if (window.location.pathname.includes('affected')) { + document.querySelector('.affected-text').className = "affected-text"; + } + </script> {{ partial "js" . }} {{ partial "footer" . }} |