499a2a030b9e20d0e71e5ae9bffc433a8a9ad31e
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / author_box.html
1 <div class="row">
2   <h2>O autorze</h2>
3   <div>
4     {% if author.photo %}
5       <figure class="l-author__photo">
6         <img src="{{ author.photo.url }}" alt="{{ author.name }}" style="width: 238px;">
7         <figcaption>
8           {{ author.photo_attribution|safe }}
9         </figcaption>
10       </figure>
11     {% endif %}
12     <article class="l-author__info">
13       <h3><a href="{{ author.get_absolute_url }}">{{ author.name }}</a></h3>
14       <div class="l-article__overlay" data-max-height="327">
15         {{ author.description|safe }}
16       </div>
17       <button class="l-article__read-more" aria-label="Kliknij aby rozwinąć" data-label="Czytaj więcej" data-action="Zwiń tekst">Czytaj więcej</button>
18     </article>
19   </div>
20 </div>