Skip to content

FOLLOW-UP: Fix double "LiveTemplate Patterns" title on index page (from PR #59) #62

@adnaan

Description

@adnaan

Context

This follow-up task was identified during the review of PR #59.

Source PR: #59
PR Title: feat: add patterns example app — Session 1 (scaffold + forms #1-7)
Suggested by: @Copilot
Comment type: review comment on patterns/main.go:33

Task Description

The index page sets Title: "LiveTemplate Patterns", but the shared layout appends — LiveTemplate Patterns to every <title>, resulting in "LiveTemplate Patterns — LiveTemplate Patterns" on the index page.

Proposed fix: Set the index Title to something shorter (e.g., "Patterns"), or make the layout conditional so the suffix isn't duplicated.

Original Comment

The index page sets Title to "LiveTemplate Patterns", but the shared layout appends " — LiveTemplate Patterns" to every <title>, resulting in "LiveTemplate Patterns — LiveTemplate Patterns" on the index. Consider setting the index Title to something shorter (e.g., "Patterns"), or make the layout conditional so the suffix isn't duplicated.

Title: "Patterns",

This issue was automatically created by prmonitor from PR review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upFollow-up task from PR reviewfrom-reviewIssue originated from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions