Инициализация

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich
2022-03-06 05:21:24 +10:00
commit ab752bf34f
39 changed files with 2648 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{% extends "core.html" %}
{% block main %}
<link href="/css/books.css" rel="stylesheet">
<article class="book">
<img src="/books/{{ book.id|e }}/cover" alt='Обложка книги "{{ book.title|e }}"'>
<h3><a href="/books/{{ book.id|e }}">{{ book.title|e }}</a></h3>
<p>{{ book.description|e|length|trim(' ') > 80 ? book.description|e|slice(0, 80)|trim(' ') ~ '...' : book.description|e}}</p>
</article>
{% endblock %}