diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-12-02 09:37:47 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-12-02 09:37:47 +0100 |
commit | 4462b5aeffdf6d822102b781444ed82f9fb0922c (patch) | |
tree | d57b38212ce8b8e86f97ada8e505df9b72983d6b /templates | |
parent | 1a1eab675523a8733217fee5576f1d5d4c1701ab (diff) |
Improve templates to show the about page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/about.html | 17 | ||||
-rw-r--r-- | templates/web/base.html | 7 |
2 files changed, 24 insertions, 0 deletions
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 %} + <header> + <h1>{{ settings.name }}</h1> + <nav><a href="{{ url_for('index') }}">home</a></nav> + </header> + {% 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 @@ </head> <body> {% block content %}{% endblock %} + <footer> + <small> + <a href="/about.html">about</a> + ยท Generated by + <a href="https://git.sr.ht/~fabrixxm/lesanaweb">Lesana Web</a> + </small> + </footer> </body> </html> |