Pattern
External links
Links that leave the site open in a new tab and say so with an arrow when they are a call to action.
01
Rules
- New tab
- Links to other sites use
target="_blank". Links within niklausgerber.com open in place (relative paths, no domain). - rel
rel="noopener noreferrer". Some older links on the Unresolved page carry onlynoopener; align them when the page is next edited.- Arrow
- Calls to action that leave the site end in “↗” after a no-break space, in
<span aria-hidden="true">: “Order on Amazon ↗”, “Get it on the App Store ↗”. Plain text links carry no arrow. - Referral
- Playground links add
?ref=niklausgerber.com. - Shown as text and linked with
mailto:, always inside<!--sse-->…<!--/sse-->. - Domain
- Every absolute URL to the site itself uses
https://niklausgerber.com, neverwww.