Add meta titles

This commit is contained in:
Andy Smith
2025-07-30 10:04:08 -05:00
parent c3cecfbd62
commit 5d75e9a4d6
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
<% @page_title = "400 Bad Request" %>
<hgroup class="error-page__stamp">
<h1>400</h1>
<h2>Bad request</h2>
@@ -1,3 +1,5 @@
<% @page_title = "500 Internal Server Error" %>
<hgroup class="error-page__stamp">
<h1>500</h1>
<h2>Internal server error</h2>
+2
View File
@@ -1,3 +1,5 @@
<% @page_title = "406 Not Acceptable" %>
<hgroup class="error-page__stamp">
<h1>406</h1>
<h2>Not acceptable</h2>
+2
View File
@@ -1,3 +1,5 @@
<% @page_title = "404 Not Found" %>
<hgroup class="error-page__stamp">
<h1>404</h1>
<h2>Sorry, that page doesnt exist!</h2>
@@ -1,3 +1,5 @@
<% @page_title = "422 Unprocessable Entity" %>
<hgroup class="error-page__stamp">
<h1>422</h1>
<h2>Unprocessable entity</h2>
+2 -1
View File
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>The page you were looking for doesnt exist (404 Not found)</title>
<%= page_title_tag %>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, width=device-width">
<meta name="robots" content="noindex, nofollow">
@@ -131,6 +131,7 @@
inline-size: 100%;
border: 0;
border-block-start: calc(var(--stroke-width) / 2) solid currentcolor;
color: currentcolor;
margin: 1ch auto;
}