mirror of https://gitlab.com/bashrc2/epicyon
Verified blog style
parent
c690e16596
commit
1b4d742759
|
@ -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,19 +752,20 @@ 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 += \
|
'<p>Blog: <a href="' + \
|
||||||
'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:
|
||||||
donate_section += \
|
donate_section += \
|
||||||
'<p>' + translate['XMPP'] + ': <a href="xmpp:' + \
|
'<p>' + translate['XMPP'] + ': <a href="xmpp:' + \
|
||||||
|
|
Loading…
Reference in New Issue