mirror of https://gitlab.com/bashrc2/epicyon
Profile description
parent
0db51c842c
commit
c65c44631b
|
@ -269,7 +269,8 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
|
||||||
add_emoji_to_display_name(session, base_dir, http_prefix,
|
add_emoji_to_display_name(session, base_dir, http_prefix,
|
||||||
nickname, domain,
|
nickname, domain,
|
||||||
profile_description, False, translate)
|
profile_description, False, translate)
|
||||||
profile_description += get_featured_hashtags_as_html(profile_json)
|
profile_description = \
|
||||||
|
profile_description + get_featured_hashtags_as_html(profile_json)
|
||||||
outbox_url = None
|
outbox_url = None
|
||||||
if not profile_json.get('outbox'):
|
if not profile_json.get('outbox'):
|
||||||
if debug:
|
if debug:
|
||||||
|
@ -738,9 +739,10 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
add_emoji_to_display_name(session, base_dir, http_prefix,
|
add_emoji_to_display_name(session, base_dir, http_prefix,
|
||||||
nickname, domain,
|
nickname, domain,
|
||||||
profile_description, False, translate)
|
profile_description, False, translate)
|
||||||
|
profile_description = \
|
||||||
|
profile_description + get_featured_hashtags_as_html(profile_json)
|
||||||
if profile_description:
|
if profile_description:
|
||||||
profile_description = standardize_text(profile_description)
|
profile_description = standardize_text(profile_description)
|
||||||
profile_description += get_featured_hashtags_as_html(profile_json)
|
|
||||||
posts_button = 'button'
|
posts_button = 'button'
|
||||||
following_button = 'button'
|
following_button = 'button'
|
||||||
moved_button = 'button'
|
moved_button = 'button'
|
||||||
|
|
Loading…
Reference in New Issue