feat/show CW
This commit is contained in:
parent
ca558d57e9
commit
8f2c209a45
2 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,10 @@ body {
|
|||
color: #D32F2F;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.icon-bar span {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue