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:
parent
8012691d7a
commit
2bb3f760a0
|
@ -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 != "" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user