Skip to content

Commit

Permalink
adding webp resized images
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahframe committed Aug 27, 2024
1 parent 54f936c commit ab5d103
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added static/images/cdh_404.webp
Binary file not shown.
Binary file added static/images/cdh_500.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block content %}
{% with desc=message|default:"We can't seem to find the page you're looking for." %}
{% with image_src='images/cdh_404.jpeg' %}
{% with image_src='images/cdh_404.webp' %}
{% include 'includes/error_hero.html' with title='Error 404' description=desc image_src=image_src %}
{% endwith %}
{% endwith %}
Expand Down
2 changes: 1 addition & 1 deletion templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block content %}
{% with desc=message|default:"Something went wrong. Please try reloading the page, or return to home" %}
{% with image_src='images/cdh_500.jpeg' %}
{% with image_src='images/cdh_500.webp' %}
{% include 'includes/error_hero.html' with title='Error 500' description=desc %}
{% endwith %}
{% endwith %}
Expand Down

0 comments on commit ab5d103

Please sign in to comment.