This commit is contained in:
Laptop
2026-01-28 22:31:15 +02:00
parent 4254f1d99c
commit 655eb245c0
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ templ TrackHeader(prefs cfg.Preferences, t sc.Track, needPlayer bool) {
<meta name="og:title" content={ t.Title }/>
<meta name="og:description" content={ t.FormatDescription() }/>
<meta name="og:image" content={ t.Artwork }/>
<link rel="icon" href={ t.Artwork }/>
<link rel="icon" type="image/x-icon" href={ t.Artwork }/>
if needPlayer && *prefs.Player == cfg.HLSPlayer {
<script src="/_/static/external/hls.light.min.js"></script>
}

View File

@@ -12,7 +12,7 @@ templ UserHeader(u sc.User) {
<meta name="og:title" content={ u.FormatUsername() }/>
<meta name="og:description" content={ u.FormatDescription() }/>
<meta name="og:image" content={ u.Avatar }/>
<link rel="icon" href={ u.Avatar }/>
<link rel="icon" type="image/x-icon" href={ u.Avatar }/>
}
templ UserItem(user *sc.User) {