feat: add canonical URL to post template for better SEO

This commit is contained in:
Caidan Williams
2025-08-22 14:40:57 -07:00
parent 5120c037d1
commit 560c503aa6
+1
View File
@@ -14,6 +14,7 @@
<meta property="profile:username" content="{{ profileView.Handle }}">
{%- if requestURI %}
<meta property="og:url" content="{{ requestURI }}">
<link rel="canonical" href="{{ requestURI }}" />
{% endif -%}
{%- if postView.Author.DisplayName %}
<meta property="og:title" content="{{ postView.Author.DisplayName }} (@{{ postView.Author.Handle }})">