Skip to content

chore(copy): remove em-dashes from site copy - #15

Merged
proggeramlug merged 1 commit into
mainfrom
chore/remove-em-dashes
Oct 30, 2026
Merged

proggeramlug merged 1 commit into
mainfrom
chore/remove-em-dashes

Conversation

@TheHypnoo

Copy link
Copy Markdown
Member

Summary

Em-dashes read as AI-written. This removes them from the site copy and code. Blog posts are left unchanged on purpose: they are authored articles in 13 languages, with about 8,600 em-dashes.

 BRAND (page title suffix)
-  "<title> — Perry"
+  "<title> | Perry"

 home title
-  "Perry — Compile JavaScript/TypeScript to Native Executables | …"
+  "Perry: Compile JavaScript/TypeScript to Native Executables | …"

Each one was rewritten for its context rather than swapped mechanically:

Context Replacement
Titles, lists after a label colon (:; : in ja/zh; : in fr)
Asides in a sentence comma or parentheses
Two sentences full stop (。 in ja/zh)

Two em-dashes are kept on purpose: the trailing-punctuation regex in src/lib/seo.ts, and the — placeholder for empty cells in the benchmarks table.

Evidence

  • Before: 127 em-dashes in the locale files and 26 in .astro/.ts.
    After: 0 in the locale files and 2 in code (the two above).
  • In a local build, the <title> is Perry: Compile JavaScript/TypeScript to Native Executables | … on the English home and Get Started with Perry: Install & Compile … on Get Started. The only em-dashes left on non-blog pages are blog post titles listed on the home page.

Merge Danger

Door: two-way

Blast Radius: small

Copy-only changes, but page titles change on every page ( — Perry becomes | Perry), so search results will show the new titles after the next crawl.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: e9afc761-2724-4cc2-a247-cb04ad156505
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Comment @coderabbitai help to get the list of available commands.

@proggeramlug
proggeramlug merged commit eb3656f into main Oct 30, 2026
2 checks passed
@TheHypnoo
TheHypnoo deleted the chore/remove-em-dashes branch October 30, 2026 14:34
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.

2 participants