home » dokk/dokk.org.git
Author zPlus <zplus@peers.community> 2023-10-13 15:53:45
Committer zPlus <zplus@peers.community> 2023-10-13 15:53:45
Commit 6cbc4da (patch)
Tree ac4831c
Parent(s)

Add OPDS link in library page.


commits diff: 4cba382..6cbc4da
2 files changed, 5 insertions, 1 deletiondownload


Diffstat
-rw-r--r-- pages/library.html 4
-rw-r--r-- static/css/dokk.css 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+4/-0 M   pages/library.html
index 716b803..9b23f71
old size: 2K - new size: 2K
@@ -42,6 +42,10 @@
42 42 {% block body %}
43 43
44 44 <div class="library">
45 +
46 + <b>The library is also available via OPDS. Add this link to your OPDS client: https://dokk.org/library/opds.xml</b>
47 + <br /><br /><br />
48 +
45 49 {% for item in data["@graph"]|sort(attribute="library:title") %}
46 50 <p>
47 51 <div>

+1/-1 M   static/css/dokk.css
index ddf5784..cdb2c2c
old size: 2K - new size: 2K
@@ -11,7 +11,7 @@ body > .index {
11 11 }
12 12
13 13 body > .library {
14 -
14 + padding: 3rem 5%;
15 15 }
16 16
17 17 body > .library_item {