diff options
author | Caidan Williams <caidan@internet.dev> | 2025-08-22 14:42:05 -0700 |
---|---|---|
committer | Caidan Williams <caidan@internet.dev> | 2025-08-22 14:42:05 -0700 |
commit | d8c904d1d92c9685d42ac537f6a07a610b98eb43 (patch) | |
tree | c25f6925022d8aa40d63d9108c28e5afac5d1b2b /bskyweb | |
parent | 560c503aa61d0c03b52549c31610845cd1ecd36c (diff) | |
download | voidsky-d8c904d1d92c9685d42ac537f6a07a610b98eb43.tar.zst |
feat: add canonical URL to profile template for better SEO
Diffstat (limited to 'bskyweb')
-rw-r--r-- | bskyweb/templates/profile.html | 1 |
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 }})"> |