Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

update canonical behavior on templates (#424)

Guy Ben-Aharon76ba4ce4c569
diff --git a/src/pages/templates-page/templates-page-helmet.tsx b/src/pages/templates-page/templates-page-helmet.tsx
index 3329f779..02dfff39 100644
--- a/src/pages/templates-page/templates-page-helmet.tsx
+++ b/src/pages/templates-page/templates-page-helmet.tsx
@@ -23,7 +23,7 @@ export const TemplatesPageHelmet: React.FC<TemplatesPageHelmetProps> = ({
const canonicalUrl = useMemo(() => {
let suffix = '/templates';
if (formattedUrlTag) {
- suffix += `/${formattedUrlTag}`;
+ suffix += `/tags/${formattedUrlTag}`;
} else if (isFeatured) {
suffix += '/featured';
}