Add links to content for tiles in /nojs

If the tiles are now clicked, they redirect to main page of book.
This commit is contained in:
Nikhil Tanwar
2023-02-14 00:32:22 +05:30
parent c1d7cc37fd
commit dbded6eee2
2 changed files with 6 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<div class="book__list">
{{#books}}
<div class="book__wrapper">
<a class="book__link" href="#" title="Preview" aria-label="Preview">
<a class="book__link" href="{{root}}/content/{{id}}" title="Preview" aria-label="Preview">
<div class="book__link__wrapper">
<div class="book__icon" {{faviconAttr}}></div>
<div class="book__header">