Skip to content

Commit daacc66

Browse files
committed
The changes made in this commit include:
- Modified src/templates/400.html to update the image source for bad request error - Modified src/templates/403.html to update the image source for forbidden error - Modified src/templates/500.html to update the image source for internal server error - Modified src/templates/error.html to remove title and meta description and keywords
1 parent 171ec2f commit daacc66

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/templates/400.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>400</h1>
1111
<h2>Bad Request.</h2>
1212
<a class="btn" href="{% url 'signals' %}">Back to home</a>
13-
<img src="{% static 'assets/img/not-found.svg' %}" class="img-fluid py-5" alt="Bad Request.">
13+
<img src="{% static 'assets/img/bad-request.svg' %}" class="img-fluid py-5" alt="Bad Request.">
1414
</section>
1515

1616
</div>

src/templates/403.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>403</h1>
1111
<h2>You don't have permission to access this resource.</h2>
1212
<a class="btn" href="{% url 'signals' %}">Back to home</a>
13-
<img src="{% static 'assets/img/not-found.svg' %}" class="img-fluid py-5" alt="Forbidden">
13+
<img src="{% static 'assets/img/forbidden.svg' %}" class="img-fluid py-5" alt="Forbidden">
1414
</section>
1515

1616
</div>

src/templates/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>500</h1>
1111
<h2>Internal Server Error.</h2>
1212
<a class="btn" href="{% url 'signals' %}">Back to home</a>
13-
<img src="{% static 'assets/img/not-found.svg' %}" class="img-fluid py-5" alt="Internal Server Error.">
13+
<img src="{% static 'assets/img/internal-server-error.svg' %}" class="img-fluid py-5" alt="Internal Server Error.">
1414
</section>
1515

1616
</div>

src/templates/error.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<meta charset="utf-8">
99
<meta content="width=device-width, initial-scale=1.0" name="viewport">
1010

11-
<title>Not Found 404</title>
12-
<meta content="Not Found 404" name="description">
13-
<meta content="HTML, CSS, JavaScript" name="keywords">
11+
<title>Error</title>
12+
<meta content="" name="description">
13+
<meta content="" name="keywords">
1414

1515
<!-- Favicons -->
1616
<link href="{% static 'assets/img/favicon.png' %}" rel="icon">

0 commit comments

Comments
 (0)