-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from jazzominy/chore/seo-meta-tags
404 page
- Loading branch information
Showing
2 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: "Oops!!" | ||
permalink: /404.html | ||
--- | ||
|
||
<style> | ||
.not-found-container { | ||
text-align: center; | ||
height: 100%; | ||
padding-top: 2rem; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.not-found-container h1 { | ||
font-size: 6rem; | ||
margin: 0; | ||
line-height: 1; | ||
} | ||
|
||
.not-found-container h2 { | ||
font-size: 2rem; | ||
} | ||
</style> | ||
|
||
<div class="not-found-container"> | ||
<h1>404</h1> | ||
<h2>Page not found</h2> | ||
<a href="/">Return to Home</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,10 @@ | |
<meta property="og:description" content="{{ page.excerpt }}"> | ||
<meta property="og:url" content="{{ site.url }}{{ page.url }}"> | ||
<meta property="og:title" content="{{ page.title }}"> | ||
<meta property="og:type" content="article"> | ||
<meta property="article:published_time" content="{{ page.date }}"> | ||
{% if page.date %} | ||
<meta property="og:type" content="article"> | ||
<meta property="article:published_time" content="{{ page.date }}"> | ||
{% endif %} | ||
<link rel="canonical" href="{{ site.url }}{{ page.url }}"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"> | ||
<style> | ||
|