1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-29 12:27:34 +00:00

Use full address for profile image in h-card

This commit is contained in:
Jan-Lukas Else 2022-12-27 08:57:02 +01:00
parent 8012691d7a
commit 2bb3f760a0

View File

@ -375,7 +375,7 @@ func (a *goBlog) renderAuthor(hb *htmlbuilder.HtmlBuilder) {
} }
hb.WriteElementOpen("div", "class", "p-author h-card hide") hb.WriteElementOpen("div", "class", "p-author h-card hide")
if a.hasProfileImage() { if a.hasProfileImage() {
hb.WriteElementOpen("data", "class", "u-photo", "value", a.profileImagePath(profileImageFormatJPEG, 0, 0)) hb.WriteElementOpen("data", "class", "u-photo", "value", a.getFullAddress(a.profileImagePath(profileImageFormatJPEG, 0, 0)))
hb.WriteElementClose("data") hb.WriteElementClose("data")
} }
if user.Name != "" { if user.Name != "" {