Skip to content

Commit 8261d20

Browse files
Hibernate-CIyrodiere
authored andcommitted
Suggest maybe the link is just invalid in 404 page
1 parent f74f614 commit 8261d20

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

404.html.haml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ inhibit_indexifier: true
55
---
66

77
:javascript
8+
$(document).ready(function() {
9+
jQuery("#wayback-button").attr("href", "https://web.archive.org/web/*/" + window.location.href);
10+
});
811
jQuery.ajax({
912
url: "https://hibernate.atlassian.net/s/d41d8cd98f00b204e9800998ecf8427e/en_US-ny35gm-1988229788/6206/19/1.4.1/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?collectorId=7d71341e",
1013
type: "get",
@@ -50,7 +53,15 @@ inhibit_indexifier: true
5053
Looks like you have found a broken link!
5154

5255
%p
53-
Please report it mentioning which page you came from and which link you clicked on:
56+
Please check the link doesn't contain an error: people make mistakes,
57+
and AI chatbots in particular are known to spontaneously generate invalid links.
58+
The Wayback Machine can help you there:
59+
%p.text-center
60+
%a.ui.right.label.button.primary#wayback-button
61+
%i.icon.arrow.circle.up
62+
Check if this page used to exist
63+
%p
64+
If you are certain the link used to work, report it, mentioning which page you came from and which link you clicked on:
5465
%p.text-center
5566
%button.ui.right.label.button.primary#feedback-button
5667
%i.icon.arrow.circle.up

0 commit comments

Comments
 (0)