Add link to homepage to 404 error page (#40369)

This commit is contained in:
diondiondion authored and Claire committed 2026-09-16 09:53:20 +02:00
1 parent 4ebd62e952
commit b2bb4087eb
3 files changed
+4 -1

No files matched your search

@@ -185,6 +185,7 @@ body {
font-size: 20px;
line-height: 28px;
font-weight: 400;
margin-bottom: var(--space-md);
}
}
}
+2 -1
View File
@@ -12,8 +12,9 @@
= theme_style_tags Setting.default_settings['theme']
= vite_typescript_tag 'error.ts', crossorigin: 'anonymous'
%body.error
.dialog
%main.dialog
.dialog__illustration
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
.dialog__message
%h1= yield :content
%a{ class: 'button button-secondary', href: '/' }= t('errors.go_home')
+1
View File
@@ -1596,6 +1596,7 @@ en:
content: We're sorry, but something went wrong on our end.
title: This page is not correct
'503': The page could not be served due to a temporary server failure.
go_home: Go home
noscript_html: To use the Mastodon web application, please enable JavaScript. Alternatively, try one of the <a href="%{apps_path}">native apps</a> for Mastodon for your platform.
existing_username_validator:
not_found: could not find a local user with that username