diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2021-05-09 13:21:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 13:21:50 +0300 |
commit | 579f96161885465b185966c503427b1172e62968 (patch) | |
tree | 04a4a5e1f5eddc7d7db4ec3f61b6602fe73d1513 /layouts/404.html | |
parent | a84bc7f2d9886611988201e5544ba43613424246 (diff) |
v5.0.3
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" . }} |