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'
|
||||
htmlStr += ' <figcaption>\n'
|
||||
htmlStr += \
|
||||
' <img loading="lazy" src="' + avatarUrl + '" ' \
|
||||
'title="' + avatarDescription + '" alt="' + \
|
||||
avatarDescription + '" class="title">\n'
|
||||
' <a href="/users/' + \
|
||||
nickname + '/' + defaultTimeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '">\n' + \
|
||||
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
||||
' class="title"></a>\n'
|
||||
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
||||
htmlStr += \
|
||||
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
||||
|
|
Loading…
Reference in New Issue