Show More
@@ -15,10 +15,10 b'' | |||
|
15 | 15 | {% endif %} |
|
16 | 16 | |
|
17 | 17 | {% if prev_page_link %} |
|
18 | <link rel="prev" href="{{ prev_page_link }}" /> | |
|
18 | <link rel="prev" href="{{ prev_page_link|safe }}" /> | |
|
19 | 19 | {% endif %} |
|
20 | 20 | {% if next_page_link %} |
|
21 | <link rel="next" href="{{ next_page_link }}" /> | |
|
21 | <link rel="next" href="{{ next_page_link|safe }}" /> | |
|
22 | 22 | {% endif %} |
|
23 | 23 | |
|
24 | 24 | {% endblock %} |
@@ -32,7 +32,7 b'' | |||
|
32 | 32 | <div class="post"> |
|
33 | 33 | <div class="title">{{ banner.title }}</div> |
|
34 | 34 | <div>{{ banner.get_text|safe }}</div> |
|
35 | <div>{% trans 'Details' %}: <a href="{{ banner.post.get_absolute_url }}">>>{{ banner.post.id }}</a></div> | |
|
35 | <div>{% trans 'Details' %}: <a href="{{ banner.post.get_absolute_url|safe }}">>>{{ banner.post.id }}</a></div> | |
|
36 | 36 | </div> |
|
37 | 37 | {% endfor %} |
|
38 | 38 | |
@@ -41,8 +41,8 b'' | |||
|
41 | 41 | {% if random_image_post %} |
|
42 | 42 | <div class="tag-image"> |
|
43 | 43 | {% with image=random_image_post.get_first_image %} |
|
44 |
<a href="{{ random_image_post.get_absolute_url }}"><img |
|
|
45 | src="{{ image.get_thumb_url }}" | |
|
44 | <a href="{{ random_image_post.get_absolute_url|safe }}"><img | |
|
45 | src="{{ image.get_thumb_url|safe }}" | |
|
46 | 46 | width="{{ image.get_preview_size.0 }}" |
|
47 | 47 | height="{{ image.get_preview_size.1 }}" |
|
48 | 48 | alt="{{ random_image_post.id }}"/></a> |
@@ -3,6 +3,7 b'' | |||
|
3 | 3 | |
|
4 | 4 | {% get_current_language as LANGUAGE_CODE %} |
|
5 | 5 | |
|
6 | {% autoescape off %} | |
|
6 | 7 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}" {% if tree_depth %}style="margin-left: {{ tree_depth }}em;"{% endif %}> |
|
7 | 8 | <div class="post-info"> |
|
8 | 9 | <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.id }}</a> |
@@ -162,3 +163,4 b'' | |||
|
162 | 163 | </div> |
|
163 | 164 | {% endif %} |
|
164 | 165 | </div> |
|
166 | {% endautoescape %} No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now