feat/show CW

This commit is contained in:
SouthFox 2022-09-20 19:48:37 +08:00
parent ca558d57e9
commit 8f2c209a45
2 changed files with 7 additions and 0 deletions

View file

@ -33,6 +33,10 @@ body {
color: #D32F2F;
}
.content {
padding-top: 10px;
}
.icon-bar span {
padding-right: 10px;
}

View file

@ -24,6 +24,9 @@
<time>{{ toot.created_at }}</time></span></a>
</div>
<div class="content">
{% if toot.spoiler_text != "" %}
<strong><i>CW: {{toot.spoiler_text|safe}}</i></strong>
{% endif %}
{{ toot.content|safe }}
</div>