This commit is contained in:
Thomas Chartron 2021-11-14 14:39:06 +01:00
parent b178f9ebf2
commit 0773a8a1c8
3 changed files with 20 additions and 2 deletions

View file

@ -13,9 +13,9 @@ zola-tailwind is a [Zola](https://www.getzola.org/) theme built with tailwindcss
- [X] Pagination
- [X] Sliding menu with sections
- [X] Table of content (2 levels and currently viewed part highlighted)
- [ ] Multilingue
- [X] Multilingue
- [ ] 404
- [ ] Mobile responsive
- [ ] Adsense ads
- [ ] Code highlighting
- [ ] Favicon
- [ ] 404

View file

@ -0,0 +1,15 @@
{% extends "layout.html" %}
{% block content %}
<div class="flex items-center flex-col md:mt-40">
<h1 class="text-xl text-bold">
404 Not Found
</h1>
<img class="rounded-full h-40 w-40" src="{{ config.extra.404.image }}" alt="">
</div>
<!-- Content -->
<div class="text-bold mt-2">
It seems that the content you're looking for was not found ...
</div>
{% endblock content %}

View file

@ -74,6 +74,9 @@ items = [
title = "Main title"
image = "https://via.placeholder.com/200"
[extra.404]
image = "https://via.placeholder.com/200"
[extra.default_author]
name = "John Doe"
avatar = "https://via.placeholder.com/200"