From 6cbc4da7cdb74cb3549b7ce0a1e5071d0ac8248e Mon Sep 17 00:00:00 2001 From: zPlus Date: Fri, 13 Oct 2023 17:53:45 +0200 Subject: [PATCH] Add OPDS link in library page. --- pages/library.html | 4 ++++ static/css/dokk.css | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/library.html b/pages/library.html index 716b803..9b23f71 100644 --- a/pages/library.html +++ b/pages/library.html @@ -42,6 +42,10 @@ {% block body %}
+ +The library is also available via OPDS. Add this link to your OPDS client: https://dokk.org/library/opds.xml +


+ {% for item in data["@graph"]|sort(attribute="library:title") %}

diff --git a/static/css/dokk.css b/static/css/dokk.css index ddf5784..cdb2c2c 100644 --- a/static/css/dokk.css +++ b/static/css/dokk.css @@ -11,7 +11,7 @@ body > .index { } body > .library { - + padding: 3rem 5%; } body > .library_item {