diff options
author | Andrew Godwin | 2022-12-12 07:22:11 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-12 11:56:49 -0700 |
commit | 8ffe4bc1453660c1f211496074ebcc68c924327e (patch) | |
tree | 7503fdcd6aafd32e9ec75dc7190699e004cf2935 /templates/identity | |
parent | 35a45f1c55fba69d690929c9420df565e7c5efcc (diff) | |
download | takahe-8ffe4bc1453660c1f211496074ebcc68c924327e.tar.gz takahe-8ffe4bc1453660c1f211496074ebcc68c924327e.tar.bz2 takahe-8ffe4bc1453660c1f211496074ebcc68c924327e.zip |
A better way of handling URIs between local/remote
Diffstat (limited to 'templates/identity')
-rw-r--r-- | templates/identity/select.html | 2 | ||||
-rw-r--r-- | templates/identity/view.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/identity/select.html b/templates/identity/select.html index d63f886..b3fc41d 100644 --- a/templates/identity/select.html +++ b/templates/identity/select.html @@ -6,7 +6,7 @@ <section class="icon-menu"> {% for identity in identities %} <a class="option" href="{{ identity.urls.activate }}"> - <img src="{{ identity.local_icon_url }}"> + <img src="{{ identity.local_icon_url.relative }}"> <span class="handle"> {{ identity.name_or_handle }} <small>@{{ identity.handle }}</small> diff --git a/templates/identity/view.html b/templates/identity/view.html index 612e3d2..8d5806f 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -13,10 +13,10 @@ {% block content %} <h1 class="identity"> {% if identity.local_image_url %} - <img src="{{ identity.local_image_url }}" class="banner"> + <img src="{{ identity.local_image_url.relative }}" class="banner"> {% endif %} - <img src="{{ identity.local_icon_url }}" class="icon"> + <img src="{{ identity.local_icon_url.relative }}" class="icon"> {% if request.identity %} {% if identity == request.identity %} |