Skip to content

Commit 1e8a971

Browse files
committed
feat: add 404 page
1 parent ff80b7f commit 1e8a971

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

‎sass/_four-zero-four.scss‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
section#four-zero-four {
2+
text-align: center;
3+
margin-block: 3em;
4+
font-size: 16pt;
5+
6+
div.content {
7+
h1#title {
8+
font-size: 36pt;
9+
}
10+
}
11+
}

‎sass/style.scss‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
@use 'footer';
77

88
@use 'index';
9-
@use 'download'
9+
@use 'download';
10+
@use 'four-zero-four';

‎templates/404.html‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{% extends "base.html" %}
2+
3+
{% block title %}
4+
Page not found
5+
{% endblock title %}
6+
7+
{% block content %}
8+
<section id="four-zero-four">
9+
<div class="content">
10+
<h1 id="title">404 - Page not found</h1>
11+
<p>The requested page could not be found</p>
12+
</div>
13+
</section>
14+
{% endblock content %}

0 commit comments

Comments
 (0)