ChangelogApril 21, 2026Ask a question|Copy page|View as Markdown|More actionsTarget the logo from custom scripts customizationcomponents <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. Read the docs