Fix issue with protocol
This commit is contained in:
parent
e214d8b879
commit
f848dcd756
5 changed files with 12 additions and 12 deletions
|
@ -4,8 +4,8 @@
|
|||
{% block title %}{{ book|book_title }}{% endblock %}
|
||||
|
||||
{% block opengraph_images %}
|
||||
<meta name="twitter:image" content="{{ media_path }}{{ book.preview_image }}">
|
||||
<meta name="og:image" content="{{ media_path }}{{ book.preview_image }}">
|
||||
<meta name="twitter:image" content="{{ request_protocol }}{{ media_path }}{{ book.preview_image }}">
|
||||
<meta name="og:image" content="{{ request_protocol }}{{ media_path }}{{ book.preview_image }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue