aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2020-12-29 15:27:14 -0500
committerBryan Brattlof <hello@bryanbrattlof.com>2020-12-29 15:40:35 -0500
commit001d403a4a2e4fce5a18ae4dc9f41a0e7ab02e6f (patch)
tree96550a8758e52d8672ab102697ae7ad63cf49d45
parent6c42f9cd7872641401b3e173a984c3d22433799a (diff)
downloadbryanbrattlof.com-001d403a4a2e4fce5a18ae4dc9f41a0e7ab02e6f.tar.gz
bryanbrattlof.com-001d403a4a2e4fce5a18ae4dc9f41a0e7ab02e6f.tar.bz2
update 404 page
this change will update the image and text in the 404 page to align more with our work with the 500 page
-rw-r--r--stylesheets/ubad.scss4
-rw-r--r--templates/ubad.html29
2 files changed, 21 insertions, 12 deletions
diff --git a/stylesheets/ubad.scss b/stylesheets/ubad.scss
index be08228..6f55f01 100644
--- a/stylesheets/ubad.scss
+++ b/stylesheets/ubad.scss
@@ -28,3 +28,7 @@ h1 {
font-size: 300%;
letter-spacing: -1px;
}
+
+a {
+ @extend %link;
+}
diff --git a/templates/ubad.html b/templates/ubad.html
index e15f7e8..cbe26fd 100644
--- a/templates/ubad.html
+++ b/templates/ubad.html
@@ -3,26 +3,31 @@
{% block css %}{{ css_asset('404_css') }}{% endblock css %}
{% block meta %}
-{% import 'sections/meta.html' as meta with context %}
-{{ meta.title('404 &laquo; ' + SITENAME) }}
-{{ meta.description('404 Error: Sorry dont know what happened, But my best men are on it') }}
-{{ meta.image(TWITTER_IMAGE, SITENAME) }}
-{{ meta.url(''.join((SITEURL, '/', UBAD_URL))) }}
-{{ meta.og_site_name(SITENAME) }}
-{{ meta.twitter_card('summary') }}
-{{ meta.twitter_site(TWITTER_HANDLE) }}
+ {{super()}}
+ {% import 'sections/meta.html' as meta with context %}
+ {{ meta.title('404 &laquo; ' + SITENAME) }}
+
+ {{ meta.description('404 Error: Oops! You seem to be lost') }}
+
+ {{ meta.image(TWITTER_IMAGE, SITENAME) }}
+
+ {{ meta.url(''.join((SITEURL, '/', UBAD_URL))) }}
+ {{ meta.og_site_name(SITENAME) }}
+
+ {{ meta.twitter_card('summary') }}
+ {{ meta.twitter_site(TWITTER_HANDLE) }}
{% endblock meta %}
{% block page %}
<article>
<div>
- <img src="{{SITEURL}}/{{THEME_STATIC_DIR}}/img/thinking.png?767b745b87"
- alt="looking for your webpage"
+ <img src="{{SITEURL}}/{{THEME_STATIC_DIR}}/img/lost-again.png"
+ alt="the webpage you're looking for wasn't found"
>
<h1>404 Error</h1>
<p>
- Sorry, don't know what happened<br>
- But my best men are on it
+ Oops! You seem to be lost<br>
+ Click <a href="{{SITEURL}}">here</a> to go home
</p>
</div>
</article>