Fixed incomplete soundtrack display
This commit is contained in:
parent
33a1d84426
commit
c0fb2f2c72
@ -33,7 +33,6 @@ func Get(ctx *aero.Context) string {
|
||||
openGraph := &arn.OpenGraph{
|
||||
Tags: map[string]string{
|
||||
"og:title": track.Title.ByUser(user),
|
||||
"og:description": track.MainAnime().Title.Canonical + " (" + strings.Join(descriptionTags, ", ") + ")",
|
||||
"og:url": "https://" + ctx.App.Config.Domain + track.Link(),
|
||||
"og:site_name": ctx.App.Config.Domain,
|
||||
"og:type": "music.song",
|
||||
@ -42,6 +41,7 @@ func Get(ctx *aero.Context) string {
|
||||
|
||||
if track.MainAnime() != nil {
|
||||
openGraph.Tags["og:image"] = track.MainAnime().ImageLink("large")
|
||||
openGraph.Tags["og:description"] = track.MainAnime().Title.Canonical + " (" + strings.Join(descriptionTags, ", ") + ")"
|
||||
}
|
||||
|
||||
if track.File != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user