about summary refs log tree commit diff
path: root/bskyweb
diff options
context:
space:
mode:
authorCaidan Williams <caidan@internet.dev>2025-08-22 14:42:05 -0700
committerCaidan Williams <caidan@internet.dev>2025-08-22 14:42:05 -0700
commitd8c904d1d92c9685d42ac537f6a07a610b98eb43 (patch)
treec25f6925022d8aa40d63d9108c28e5afac5d1b2b /bskyweb
parent560c503aa61d0c03b52549c31610845cd1ecd36c (diff)
downloadvoidsky-d8c904d1d92c9685d42ac537f6a07a610b98eb43.tar.zst
feat: add canonical URL to profile template for better SEO
Diffstat (limited to 'bskyweb')
-rw-r--r--bskyweb/templates/profile.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/bskyweb/templates/profile.html b/bskyweb/templates/profile.html
index ab84dd157..af4180dc1 100644
--- a/bskyweb/templates/profile.html
+++ b/bskyweb/templates/profile.html
@@ -15,6 +15,7 @@
   <meta property="profile:username" content="{{ profileView.Handle }}">
   {%- if requestURI %}
   <meta property="og:url" content="{{ requestURI }}">
+  <link rel="canonical" href="{{ requestURI }}" />
   {% endif -%}
   {%- if profileView.DisplayName %}
   <meta property="og:title" content="{{ profileView.DisplayName }} (@{{ profileView.Handle }})">