# {{ self::EMOJI_ROBOT }} {{ self::t!("profile") }}
## {{ self::EMOJI_KEY }} {{ self::t!("public_key") }}
{{npub}}
{% if let Some(meta) = metadata %}
{# Picture #}
{% if let Some(picture_url) = meta.picture %}
=> /www/get_image.png?{{self::encode(picture_url)}} {{ self::t!("picture") }}
{% endif %}
=> titan://{{url.authority()}}/profile/upload/picture {{ self::t!("upload_your_picture") }}
## {{ self::t!("name") }}
{% if let Some(name) = meta.name %}
{{ name }}
{% endif %}
=> /profile/edit/name {{ self::EMOJI_SPARKLES }} {{ self::t!("change_your_name") }}
{# Display name #}
## {{ self::t!("display_name") }}
{% if let Some(dname) = meta.display_name %}
{{ dname }}
{% endif %}
=> /profile/edit/display_name {{ self::EMOJI_SPARKLES }} {{ self::t!("change_your_display_name") }}
{# Name #}
{# About #}
## {{ self::t!("about") }}
{% if let Some(about) = meta.about %}
{{ about }}
{% endif %}
=> /profile/edit/about {{ self::t!("change_your_bio") }}
{# Website #}
## {{ self::t!("website") }}
> Your public website
{% if let Some(website) = meta.website %}
{{ website }}
{% endif %}
=> /profile/edit/website {{ self::EMOJI_GLOBE }} {{ self::t!("change_your_website_url") }}
## {{ self::t!("nip05") }}
> The nip05 is an email-like address that resolves to your public nostr identity
{% if let Some(nip05) = meta.nip05 %}
{{ nip05 }}
{% endif %}
=> /profile/edit/nip05 {{ self::EMOJI_DETECTIVE }} {{ self::t!("change_your_nip05_addr") }}
{% else %}
{# No profile #}
No metadata yet.
=> /profile/init {{ self::t!("initialize_metadata") }}
{% endif %}
=> / {{ self::t!("homepage") }}
