Social profiles
One list of the organization’s profiles: shown in the footer, declared to search engines, or both.
What it does
Settings → Social profiles holds the organization’s profiles on other services: Instagram, LinkedIn, YouTube, Tripadvisor, Mastodon and a dozen more, or any other address. Each row has the network, the address and two switches: Show in the footer, and Declare in structured data. Both are on for a new row.
The footer shows the rows marked for it, in their order, as a row of icons. Each icon is drawn in the page’s text colour, with no icon font and no JavaScript, and each link is named by its network for screen readers. A profile on a service not in the list gets a globe icon and the name the editor gives it.
The rows marked for structured data become the sameAs of the organization in the home page’s JSON-LD: they tell search engines these profiles belong to the site’s organization. A profile can be in one and not the other: a review page that proves who you are but that you don’t link from every page, or a channel you link but don’t claim.
See it in the demo
Look at the footer of this page: the Instagram, LinkedIn, YouTube and Mastodon icons are the profiles marked for the footer. Then view the home page’s source and find sameAs in its JSON-LD: Instagram and LinkedIn are there, with the Tripadvisor page and the hotel’s own page, which the footer doesn’t show. In the admin, open Settings → Social profiles and untick a switch: the footer and the structured data change as soon as you save.
For developers
The global is src/globals/SettingsSocialProfiles.ts; the networks, the guess from the host and the two filters are pure helpers in src/lib/socialProfiles.ts. A project’s own footer receives the links as social in its props (url, network, name, icon) and can draw them with SocialIcon from src/shell.ts. The profiles used to be a list in Settings → SEO and sharing; the template migration copies them across, marked for structured data only, so a project’s footer and JSON-LD stay as they were.
One block, every feature page
This strip is a reusable block: written once and placed at the end of every feature page. Edit it under Reusable blocks and all of them change.