From 0773a8a1c84a33d10e589c60618c0e1b5566a2b0 Mon Sep 17 00:00:00 2001 From: Thomas Chartron Date: Sun, 14 Nov 2021 14:39:06 +0100 Subject: [PATCH] update --- README.md | 4 ++-- templates/404.html | 15 +++++++++++++++ theme.toml | 3 +++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27bce83..4c8d634 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/templates/404.html b/templates/404.html index e69de29..832e87e 100644 --- a/templates/404.html +++ b/templates/404.html @@ -0,0 +1,15 @@ +{% extends "layout.html" %} + +{% block content %} +
+

+ 404 Not Found +

+ +
+ + +
+ It seems that the content you're looking for was not found ... +
+{% endblock content %} diff --git a/theme.toml b/theme.toml index ed6dbb4..d175f60 100644 --- a/theme.toml +++ b/theme.toml @@ -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"