Skip to content

Commit ea924ca

Browse files
authored
Fix incorrect /div when using discuss (#251)
1 parent 9cbd54a commit ea924ca

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ablog/templates/ablog/postcard2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% if post.published and post.date != post.update %}
21
<div class="ablog-sidebar-item ablog__postcard2">
2+
{% if post.published and post.date != post.update %}
33
<li id="published">
44
<span>
55
{% if fa %}
@@ -161,5 +161,5 @@
161161
{% endif %}
162162
</a >
163163
</li>
164-
</div>
165164
{% endif %}
165+
</div>

src/ablog/templates/postcard2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ warning("postcard2.html is an old template path, that is no longer used by ablog. Please use ablog/postcard2.html instead.") }}
2-
{% if post.published and post.date != post.update %}
32
<div class="ablog-sidebar-item ablog__postcard2">
3+
{% if post.published and post.date != post.update %}
44
<li id="published">
55
<span>
66
{% if fa %}
@@ -162,5 +162,5 @@
162162
{% endif %}
163163
</a >
164164
</li>
165-
</div>
166165
{% endif %}
166+
</div>

0 commit comments

Comments
 (0)