Expose static & media paths
This commit is contained in:
parent
7ea3153026
commit
e362c82495
5 changed files with 18 additions and 10 deletions
|
@ -4,8 +4,8 @@
|
|||
{% block title %}{{ book|book_title }}{% endblock %}
|
||||
|
||||
{% block opengraph_images %}
|
||||
<meta name="twitter:image" content="{{ site_path }}/images/{{ book.preview_image }}">
|
||||
<meta name="og:image" content="{{ site_path }}/images/{{ book.preview_image }}">
|
||||
<meta name="twitter:image" content="{{ media_path }}{{ book.preview_image }}">
|
||||
<meta name="og:image" content="{{ media_path }}{{ book.preview_image }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue