Show blog address on profile

main
Bob Mottram 2021-08-20 14:56:52 +01:00
parent 8edc3ac7ef
commit 2e323a4641
1 changed files with 5 additions and 0 deletions

View File

@ -552,6 +552,7 @@ def htmlProfile(rssIconAtTop: bool,
donateSection = ''
donateUrl = getDonationUrl(profileJson)
websiteUrl = getWebsite(profileJson, translate)
blogAddress = getBlogAddress(profileJson)
PGPpubKey = getPGPpubKey(profileJson)
PGPfingerprint = getPGPfingerprint(profileJson)
emailAddress = getEmailAddress(profileJson)
@ -581,6 +582,10 @@ def htmlProfile(rssIconAtTop: bool,
donateSection += \
'<p>' + translate['Email'] + ': <a href="mailto:' + \
emailAddress + '">' + emailAddress + '</a></p>\n'
if blogAddress:
donateSection += \
'<p>Blog: <a href="' + \
blogAddress + '">' + blogAddress + '</a></p>\n'
if xmppAddress:
donateSection += \
'<p>' + translate['XMPP'] + ': <a href="xmpp:' + \