forked from indymedia/epicyon
Avatar also links to timeline
parent
34b0bd0e4d
commit
7c6924acd2
|
@ -288,9 +288,11 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str,
|
||||||
'src="/users/' + nickname + '/image.png" /></a>\n'
|
'src="/users/' + nickname + '/image.png" /></a>\n'
|
||||||
htmlStr += ' <figcaption>\n'
|
htmlStr += ' <figcaption>\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <img loading="lazy" src="' + avatarUrl + '" ' \
|
' <a href="/users/' + \
|
||||||
'title="' + avatarDescription + '" alt="' + \
|
nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
avatarDescription + '" class="title">\n'
|
translate['Switch to timeline view'] + '">\n' + \
|
||||||
|
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
||||||
|
' class="title"></a>\n'
|
||||||
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
||||||
|
|
Loading…
Reference in New Issue