Is there a better way to do the following in thymeleaf?
<div th:if="${status} == 404">
Special display for 404 page!
</div>
<div th:if="${status} != 404">
Not a 404 page!
</div>
For example, in django it's as simple as:
{% if status == 404 %}
Special display for 404 page!
{% else %}
Not a 404 page!
{% endif %}