aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2019-02-03 22:36:35 -0600
committerMatt Rude <[email protected]>2019-02-03 22:36:35 -0600
commitea41211e6d4ee6c0f17f559e7f95a920b3d1e8c7 (patch)
treed3fc3f55a486631166056e7764b0b3ea7716a45b
parent7d03d5def39d9c84e2c4c7b19b2fcb6a56c85082 (diff)
downloadxmpp-site-lite-ea41211e6d4ee6c0f17f559e7f95a920b3d1e8c7.tar.gz
xmpp-site-lite-ea41211e6d4ee6c0f17f559e7f95a920b3d1e8c7.tar.bz2
xmpp-site-lite-ea41211e6d4ee6c0f17f559e7f95a920b3d1e8c7.zip
Correct error pages header/footer
-rw-r--r--_includes/footer-error.html21
-rw-r--r--_includes/header-error.html16
-rw-r--r--_layouts/error.html4
3 files changed, 2 insertions, 39 deletions
diff --git a/_includes/footer-error.html b/_includes/footer-error.html
deleted file mode 100644
index b31e0da..0000000
--- a/_includes/footer-error.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<footer class="footer">
- <div class="container offsetanchor" id="features">
- <div id="footer"><!-- Starting Footer Section -->
- <div class="pull-left">
- <p><a href="https://status.im.mattrude.com/{{ site.xmpp-url }}">Status</a> | <a href="{{ site.url }}/certificates/">Certificates</a></p>
- </div>
- <div class="pull-right">
- <p>&copy; {{ site.time | date: "%Y" }} by <a href="{{ site.owner-url }}">{{ site.owner-name }}</a></p>
- </div>
- </div><!-- Closing Footer Section -->
- </div><!-- Closing Menu Section (from header) -->
-</footer>
-</body>
-<script src="/assets/jquery/3.2.1/js/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
-<!--
-<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
--->
-<script src="/assets/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>{% if page.url == "/files/register_web/register.html" %}
-<script src="/assets/js/validator.js"></script>{% endif %}{% if page.url == "/" and site.register-web >= 1 %}
-<script src="/assets/js/validator.js"></script>{% endif %}
-</html>
diff --git a/_includes/header-error.html b/_includes/header-error.html
deleted file mode 100644
index 620f84d..0000000
--- a/_includes/header-error.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<html lang="en" class="">
-<head>
- <meta charset="utf-8">
- <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
- {% if page.description %}<meta name="description" content="{{ page.description }}">{% else %}{% endif %}
- {% if page.tags %}<meta name="keywords" content="{{ page.tags }}">{% else %}{% endif %}
- <meta name="viewport" content="width=device-width">
- <meta name="description" content="{{ site.description }}">
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
- <link rel="shortcut icon" href="/assets/img/favicon.ico"/>
- <link rel="stylesheet" href="/assets/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
- <link rel="stylesheet" href="/assets/css/main.css">
- <link rel="stylesheet" href="/assets/css/font-awesome.min.css">
- <link rel="stylesheet" href="/assets/css/fonts.css">
-</head>
-<body id="main" data-spy="scroll" data-target="#navbar-main">
diff --git a/_layouts/error.html b/_layouts/error.html
index 4d50142..5b9633b 100644
--- a/_layouts/error.html
+++ b/_layouts/error.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-{% include header-error.html %}
+{% include header.html %}
{% include menu.html %}
{{ content }}
-{% include footer-error.html %}
+{% include footer.html %}