Verified blog style

main
Bob Mottram 2022-11-09 13:18:56 +00:00
parent c690e16596
commit 1b4d742759
1 changed files with 10 additions and 10 deletions

View File

@ -732,8 +732,7 @@ def html_profile(signing_priv_key_pem: str,
donate_section += \ donate_section += \
'<p><div class="verified_site">' + \ '<p><div class="verified_site">' + \
translate['Website'] + ': ' + \ translate['Website'] + ': ' + \
verified_site_checkmark + \ verified_site_checkmark + '<a href="' + \
'<a href="' + \
website_url + '" rel="me" tabindex="1">' + \ website_url + '" rel="me" tabindex="1">' + \
website_url + '</a></div></p>\n' website_url + '</a></div></p>\n'
else: else:
@ -753,17 +752,18 @@ def html_profile(signing_priv_key_pem: str,
email_address + '" tabindex="1">' + \ email_address + '" tabindex="1">' + \
email_address + '</a></p>\n' email_address + '</a></p>\n'
if blog_address: if blog_address:
donate_section += '<p>Blog: '
if site_is_verified(session, base_dir, http_prefix, if site_is_verified(session, base_dir, http_prefix,
nickname, domain, nickname, domain,
blog_address, False, debug): blog_address, False, debug):
donate_section += \ donate_section += \
verified_site_checkmark + \ '<p><div class="verified_site">' + \
'<a class="verified_site" ' 'Blog: ' + verified_site_checkmark + \
'<a href="' + \
blog_address + '" rel="me" tabindex="1">' + \
blog_address + '</a></div></p>\n'
else: else:
donate_section += '<a '
donate_section += \ donate_section += \
'href="' + \ '<p>Blog: <a href="' + \
blog_address + '" rel="me" tabindex="1">' + \ blog_address + '" rel="me" tabindex="1">' + \
blog_address + '</a></p>\n' blog_address + '</a></p>\n'
if xmpp_address: if xmpp_address: