April 21, 2026
Target the logo from custom scripts
<Fern.Logo /> now renders with a data-fern-logo attribute so custom scripts can target the logo with document.querySelector('#fern-header [data-fern-logo]'). Use this to rewrite the logo's href on certain pages or modify other behavior.
Fetched June 4, 2026


