Compare commits

...

2 Commits

View File

@ -1,4 +1,5 @@
{{with .Data}} {{with .Data}}
{{if .Muted}}<details><summary> muted post </summary>{{end}}
<div id="status-{{.ID}}" class="status-container-container"> <div id="status-{{.ID}}" class="status-container-container">
{{if .Reblog}} {{if .Reblog}}
<details> <details>
@ -135,7 +136,7 @@
</a> </a>
{{else}} {{else}}
<a class="img-link" href="{{.URL}}" target="_blank" title="{{.Description}}"> <a class="img-link" href="{{.URL}}" target="_blank" title="{{.Description}}">
<img class="status-image" src="{{.PreviewURL}}" alt="status-image" height="240" /> <img class="status-image" src="{{.PreviewURL}}" alt="status-image" height="240" loading="lazy" />
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}} {{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
<div class="status-nsfw-overlay"></div> <div class="status-nsfw-overlay"></div>
{{end}} {{end}}
@ -293,4 +294,5 @@
{{end}} {{end}}
{{end}} {{end}}
</div> </div>
{{if .Muted}}</details>{{end}}
{{end}} {{end}}