diff --git a/src/main.py b/src/main.py index 0ced9be..c72f9b7 100644 --- a/src/main.py +++ b/src/main.py @@ -85,13 +85,12 @@ async def page_profile(atid: str): # remove the ?reload parameter return redirect(request.path) + profile["handle"] = handle athref = f"at://{did}/at.ligo.actor.links/self" - canonical = f"https://ligo.at/{f'@{handle}' if handle else did}" return render_template( "profile.html", profile=profile, links=links, - canonical=canonical, athref=athref, ) diff --git a/src/templates/profile.html b/src/templates/profile.html index 15c5825..00f5833 100644 --- a/src/templates/profile.html +++ b/src/templates/profile.html @@ -2,7 +2,22 @@
+ +