diff options
| author | lost+skunk <[email protected]> | 2024-09-02 11:16:54 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-09-02 11:16:54 +0300 |
| commit | 14645842643c4e5fa542def715ac1629e182388c (patch) | |
| tree | 80da1c9b891ce8b4f2393311f36f4530176366af /app/wrapper.go | |
| parent | 2f8c35ba322e3c8c6e0bff8f7818d4eedf002928 (diff) | |
| download | skunky-art-14645842643c4e5fa542def715ac1629e182388c.tar.gz skunky-art-14645842643c4e5fa542def715ac1629e182388c.tar.bz2 skunky-art-14645842643c4e5fa542def715ac1629e182388c.zip | |
instance list update
Diffstat (limited to 'app/wrapper.go')
| -rw-r--r-- | app/wrapper.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/wrapper.go b/app/wrapper.go index e0e5054..f78d8c8 100644 --- a/app/wrapper.go +++ b/app/wrapper.go @@ -74,7 +74,7 @@ func (s skunkyart) GRUser() { case "cover_deviation": group.About.BGMeta = x.ModuleData.CoverDeviation.Deviation group.About.BGMeta.Url = ConvertDeviantArtUrlToSkunkyArt(group.About.BGMeta.Url) - group.About.BG = ParseMedia(group.About.BGMeta.Media, group.About.BGMeta.Title) + group.About.BG = ParseMedia(group.About.BGMeta.Media) case "group_admins": var htm strings.Builder for _, z := range x.ModuleData.GroupAdmins.Results { @@ -122,7 +122,7 @@ func (s skunkyart) GRUser() { folders.WriteString(`<a href="`) folders.WriteString(ConvertDeviantArtUrlToSkunkyArt(x.Thumb.Url)) folders.WriteString(`"><img loading="lazy" src="`) - folders.WriteString(ParseMedia(x.Thumb.Media, x.Thumb.Title)) + folders.WriteString(ParseMedia(x.Thumb.Media)) folders.WriteString(`" title="`) folders.WriteString(x.Thumb.Title) folders.WriteString(`"></a>`) @@ -185,7 +185,7 @@ func (s skunkyart) Deviation(author, postname string) { } // время публикации post.StringTime = post.Post.Deviation.PublishedTime.UTC().String() - post.Post.IMG = ParseMedia(post.Post.Deviation.Media, post.Post.Deviation.Title) + post.Post.IMG = ParseMedia(post.Post.Deviation.Media) for _, x := range post.Post.Deviation.Extended.RelatedContent { if len(x.Deviations) != 0 { post.Related += s.DeviationList(x.Deviations, false) |
