Skip to content

Commit

Permalink
add 404 redirect (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Dec 31, 2022
1 parent fb92dfc commit 81dc331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/404.html
Expand Up @@ -2,6 +2,7 @@
title: Page not found
permalink: /404.html
layout: base
redirect: true
---

<div style="text-align:center; margin-top:50px;">
Expand Down
3 changes: 3 additions & 0 deletions docs/_layouts/base.html
Expand Up @@ -15,6 +15,9 @@
<!-- exclude from search indexing -->
<meta name="robots" content="noindex, nofollow">
{% endif %}
{% if page.redirect == true %}
<meta http-equiv="refresh" content="5;url={{site.baseurl}}" />
{% endif %}

{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down

0 comments on commit 81dc331

Please sign in to comment.