fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nicer search, minor fixes.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
2022
/
book_list.html
diff --git
a/src/catalogue/templates/catalogue/2022/book_list.html
b/src/catalogue/templates/catalogue/2022/book_list.html
index
7c6e310
..
1652e7a
100644
(file)
--- a/
src/catalogue/templates/catalogue/2022/book_list.html
+++ b/
src/catalogue/templates/catalogue/2022/book_list.html
@@
-17,9
+17,9
@@
<div class="l-section">
<div class="l-author__header">
{% if main_tag.photo %}
<div class="l-section">
<div class="l-author__header">
{% if main_tag.photo %}
- {% thumbnail main_tag.photo '40x40' crop='
center
' as th %}
+ {% thumbnail main_tag.photo '40x40' crop='
top
' as th %}
<figure>
<figure>
- <img src="{{ th.url }}" alt="{{ main_tag.name }}">
+ <img src="{{ th.url }}" alt="{{ main_tag.name }}"
srcset="{{ th.url }} 1x, {{ th.url|resolution:"2x" }} 2x"
>
</figure>
{% endthumbnail %}
{% endif %}
</figure>
{% endthumbnail %}
{% endif %}