From 4462b5aeffdf6d822102b781444ed82f9fb0922c Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 2 Dec 2020 09:37:47 +0100 Subject: Improve templates to show the about page --- templates/web/about.html | 17 +++++++++++++++++ templates/web/base.html | 7 +++++++ 2 files changed, 24 insertions(+) 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..c4eb73b --- /dev/null +++ b/templates/web/about.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %}{{ settings.name }}{% endblock %} + +{% block content %} +
+

{{ settings.name }}

+ +
+ {% 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 98139fe..c41a5b2 100644 --- a/templates/web/base.html +++ b/templates/web/base.html @@ -26,5 +26,12 @@ {% block content %}{% endblock %} + -- cgit v1.2.3