visible profile banner

This commit is contained in:
localhost_frssoft 2023-11-06 02:31:53 +03:00
parent 306b0fe3b3
commit baa1176144
3 changed files with 12 additions and 1 deletions

1
README
View File

@ -11,6 +11,7 @@ Changes (localhost_custom fork):
- tag timeline
- visible edited post time
- visible quoted post (status in status)
- visible profile banner in spoiler
- hide boosts in spoiler
- hide NSFW content and attachments in spoiler
- some micro visual changes

View File

@ -632,7 +632,7 @@ kbd {
}
.profile-banner {
height: 120px;
width: 100%;
}
.block-label,

View File

@ -130,6 +130,16 @@
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
</div>
</details>
{{if .User.Header}}
<details>
<summary>Banner</summary>
<div class="user-profile-img-container">
<a class="img-link" href="{{.User.Header}}" target="_blank">
<img class="profile-banner" src="{{.User.Header}}" alt="profile-header" height="500" loading="lazy" />
</a>
</div>
</details>
{{end}}
{{if .User.Fields}}
<div class="user-fields">
{{range .User.Fields}}