From c51824906fb2e012de9f2085a8bcde1f0586a04c Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 24 Nov 2020 19:06:04 +0100 Subject: Aggiunge il template 'about.html' e semplifica leggermente gli altri template --- templates/web/about.html | 13 +++++++++++++ templates/web/base.html | 2 +- templates/web/entry.html | 2 -- templates/web/index.html | 2 -- 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 templates/web/about.html (limited to 'templates/web') diff --git a/templates/web/about.html b/templates/web/about.html new file mode 100644 index 0000000..cfccb50 --- /dev/null +++ b/templates/web/about.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + + +{% block content %} +
+ {% if readme %} + {{ readme | safe }} + {% else %} + This collection doesn't have a README.rst or README.txt file: + maybe add one? + {% endif %} +
+{% endblock %} diff --git a/templates/web/base.html b/templates/web/base.html index f0b7615..ecf8f06 100644 --- a/templates/web/base.html +++ b/templates/web/base.html @@ -6,7 +6,7 @@ - {% block title %}{% endblock %} + {% block title %}Linkopedia{% endblock %}