The Article JSON-LD set "mainEntityOfPage": "true" on every non-home page.
schema.org/mainEntityOfPage expects a CreativeWork or a URL — a boolean
string is invalid. Emit the page's canonical URL, mirroring the adjacent
"url" : {{ .Permalink }}.
Fixes#2971
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
schema.html always read the author from .Site.Params.Author, so the
structured-data author was the site-level author (or empty) regardless of a
post's `authors` front matter — even though the theme supports multiple
authors via data/authors/.
Resolve the first `authors` key against data/authors/ and emit that author's
name, image and sameAs (from their social/links), falling back to the
site-level author. Single-author output is unchanged apart from the additive
image and sameAs fields.
Fixes#2943
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Dynamically update the appearance switcher accessibility labels and tooltips using the native i18n variables so that the UI correctly reflects the user's localized language instead of hardcoded English strings.
Use a new article.reply_to i18n key for the generated reply-by-email subject instead of the hardcoded English prefix.
Add the missing translations across i18n files and keep the existing English subject as fallback.
Fixes#2936
Use a fixed event name (type:view) and pass the title as metadata
instead of embedding it in the event name, which caused issues with
long page titles.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The email obfuscation PR (#2815) incorrectly replaced the "share via
email" link with the author's email as recipient. Sharing links have no
email address to obfuscate — they just open a mailto: with the article
URL and title prefilled.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add thumbnailAspectRatio site parameter (default '1.5')
- Use decimal values instead of fractions for Hugo compatibility
- Sanitize user input to extract only numeric characters
- Apply to article cards, related cards, and term cards
- Update both source and compiled CSS
Closes#2839
Measure caption heights across slides at runtime and apply a shared min-height so switching between slides with and without caption text does not cause layout jump.
Keep this behavior scoped to carousels with captions and recalculate on load and resize for responsive stability.
Move carousel captions out of absolute positioning so they participate in normal height calculation and no longer overlap content below the carousel.
Constrain indicators and navigation buttons to the image region using container-based sizing, so controls do not extend into the caption area.