Skip to content

Commit 0fb94e6

Browse files
committed
feat(templates): use article element for post content
1 parent ab465cd commit 0fb94e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/utils.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
{% macro post(post) -%}
6767
{% set post_should_be_blurred = post.flags.spoiler && prefs.blur_spoiler=="on" -%}
6868
<!-- POST CONTENT -->
69-
<div class="post highlighted{% if post_should_be_blurred %} post_blurred{% endif %}">
69+
<article class="post highlighted{% if post_should_be_blurred %} post_blurred{% endif %}">
7070
<p class="post_header">
7171
<a class="post_subreddit" href="/r/{{ post.community }}">r/{{ post.community }}</a>
7272
<span class="dot">&bull;</span>
@@ -197,7 +197,7 @@ <h1 class="post_title">
197197
</ul>
198198
<p>{{ post.upvote_ratio }}%<span id="upvoted"> Upvoted</span></p>
199199
</div>
200-
</div>
200+
</article>
201201
{%- endmacro %}
202202

203203
{% macro external_reddit_link(permalink) %}

0 commit comments

Comments
 (0)