hide boosts by default

This commit is contained in:
localhost_frssoft 2023-11-03 01:20:55 +03:00
parent 96a0d7cf05
commit bb5ee85c34
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,8 @@
{{with .Data}}
<div id="status-{{.ID}}" class="status-container-container">
{{if .Reblog}}
<details>
<summary>
<div class="retweet-info">
<a class="img-link" href="/user/{{.Account.ID}}">
<img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="24" />
@ -9,9 +11,11 @@
<a href="/user/{{.Account.ID}}">
<span class="status-uname">@{{.Account.Acct}}</span>
</a>
retweeted
retweeteed
</div>
</summary>
{{template "status" (WithContext .Reblog $.Ctx)}}
</details>
{{else}}
{{block "status" (WithContext . $.Ctx)}}
{{with $s := .Data}}