превью и улучшение seo

This commit is contained in:
2026-02-01 20:10:21 +03:00
parent 38642a6910
commit a336d50ad0
4 changed files with 28 additions and 23 deletions
+5
View File
@@ -303,3 +303,8 @@
{% endblock %} {% block scripts %}
<script src="/static/page/book.js"></script>
{% endblock %}
{% block extra_head %}
{% if img %}
<meta property="og:image" content="{{ request.url.scheme }}://{{ domain }}/static/books/{{ img }}.jpg" />
{% endif %}
{% endblock %}