Skip to content

Commit

Permalink
fix: update mailersend integration titles for better differentiation\…
Browse files Browse the repository at this point in the history
…n\n- Update email integration title to 'How to send transactional emails with Mailersend'\n- Update SMS integration title to 'How to send text messages with Mailersend'\n- Add enhanced debug logging in Meta component for title investigation

Co-Authored-By: [email protected] <[email protected]>
  • Loading branch information
1 parent b6b4a70 commit 1900f1b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions components/Meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ export default function Meta(props) {
const title = props.title ?? DEFAULT_META.title;
const description = props.description ?? DEFAULT_META.description;
const ogImage = props.ogImage ?? getDefaultOgImage(title, description);

// Enhanced debug logging for title and SEO investigation
console.log("=== Title Debug Info ===");
console.log("Raw title prop:", props.title);
console.log("Processed title:", title);
console.log("Router path:", router.asPath);
console.log("Is client navigation:", typeof window !== "undefined");
console.log("Current document title:", typeof window !== "undefined" ? document.title : "SSR");
console.log("=====================");

return {
title: props.title ?? DEFAULT_META.title,
Expand Down
2 changes: 1 addition & 1 deletion content/integrations/email/mailersend.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: How to send email with Mailersend
title: How to send transactional emails with Mailersend
description: How to send transactional email notifications to Mailersend with Knock.
section: Integrations > Email
layout: integrations
Expand Down
2 changes: 1 addition & 1 deletion content/integrations/sms/mailersend.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: How to send SMS messages with Mailersend
title: How to send text messages with Mailersend
description: Setup guide for SMS notifications with Mailersend and Knock.
section: Integrations > SMS
layout: integrations
Expand Down

0 comments on commit 1900f1b

Please sign in to comment.