Skip to content

fix(seo): shorten homepage title to 57 chars - #600

Merged
marcelorodrigo merged 1 commit into
masterfrom
fix/shorten-home-title
Nov 21, 2026
Merged

marcelorodrigo merged 1 commit into
masterfrom
fix/shorten-home-title

Conversation

@marcelorodrigo

@marcelorodrigo marcelorodrigo commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

The homepage title ran 67 characters ("Calculadora de Renda Fixa: CDB, LCI, LCA, Poupança e Tesouro Direto"), over the 50–60 character SERP guideline. Title length is not a ranking factor, but when Google truncates by pixel width it elides the tail — which here was "Tesouro Direto", the only product keyword on the site without a dedicated landing page. "Poupança" queries are already served by /como-calcular-juros-da-poupanca/, and the word stays visible in the snippet via the meta description, so it was the cheaper one to drop.

The h1 is kept identical to the title to preserve the convention the build-time SEO checks assert, and HOME_TITLE in verify-seo.mjs is updated so those exact-title and h1 checks stay in sync. The og:image props already used the short brand title, so social cards are unaffected.

Considered leaving the title as-is — the lowercase-heavy Portuguese may render fully in some SERPs — but removing the truncation risk is a two-way door and costs one string.

Summary by CodeRabbit

  • Updates
    • The homepage heading and SEO title no longer include “Poupança.” The SEO description and structured app description still include it.

The homepage title was 67 characters, over the 50-60 guideline, putting
the trailing keyword "Tesouro Direto" at risk of SERP truncation.
Drop "Poupança" from the title and h1: those queries are already served
by the dedicated Poupança page, and the word remains in the meta
description.

Update HOME_TITLE in verify-seo.mjs so the exact-title and h1 build
assertions stay in sync.
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The homepage heading and SEO title no longer include “Poupança.” The SEO check now expects the updated homepage title. The page description and structured-app description are unchanged.

Changes: Homepage title

Layer / File(s) Summary
Update homepage title and SEO check
app/pages/index.vue, verify-seo.mjs
The homepage heading and SEO title remove “Poupança.” The SEO check updates its expected title. The page description and structured-app description remain unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Suggested reviewers: mikael-r

Merge Risk: Minimal · up to 0d1a3

This is a copy change to the homepage title and heading. It shortens the title to reduce search-result truncation, and the SEO check is updated to match. The risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the primary change: the homepage title is shortened to 57 characters by removing "Poupança". The raw summary confirms the visible heading and SEO title in app/pages/index.vue no longe…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the primary change: the homepage title is shortened to 57 characters by removing "Poupança". The raw summary confirms the visible heading and SEO title in app/pages/index.vue no longer include Poupança, and verify-seo.mjs is updated to match. The title is specific and related to the changeset. It mentions the 57-character target, which is a detail of the change rather than a separate change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ESLint

ESLint analysis is incomplete because its dependency install exceeded the time available for this review.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41df7c84-37e3-4fad-9136-4c0a69d8e995
Commits

Reviewing files that changed from the base of the PR and between 244a08d and 0d1a315.

Files selected for processing: 2

  • app/pages/index.vue
  • verify-seo.mjs

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@marcelorodrigo
marcelorodrigo merged commit fc3bd95 into master Nov 21, 2026
4 checks passed
@marcelorodrigo
marcelorodrigo deleted the fix/shorten-home-title branch November 21, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant