Post exports as an <article> not a <div>, for better accessibility

This commit is contained in:
Tarry_Dan 2023-09-24 14:05:21 +00:00 committed by likho
parent 2d302bfec9
commit 7fba705bc6

View File

@ -18,13 +18,13 @@ tag_paragraphs=true
inline_tags = ["i", "em", "b", "strong","u", "s", "a", "span"] inline_tags = ["i", "em", "b", "strong","u", "s", "a", "span"]
date_format="%d %B %Y" date_format="%d %B %Y"
format=""" format="""
<div class="postcell" id="{__num__}"> <article id="{__num__}">
<div class="timestamp">{__timestamp__} <time>{__timestamp__}
<a href=#{__num__}>(#{__num__})</a> <a href=#{__num__}>(#{__num__})</a>
</div> </time>
<div class="message">{__msg__}</div> <div class="message">{__msg__}</div>
{__btn__} {__btn__}
</div> </article>
""" """
[post.buttons] [post.buttons]