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;
|
color: #D32F2F;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.icon-bar span {
|
.icon-bar span {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
<time>{{ toot.created_at }}</time></span></a>
|
<time>{{ toot.created_at }}</time></span></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
{% if toot.spoiler_text != "" %}
|
||||||
|
<strong><i>CW: {{toot.spoiler_text|safe}}</i></strong>
|
||||||
|
{% endif %}
|
||||||
{{ toot.content|safe }}
|
{{ toot.content|safe }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue