Skip to content

feat: gallery key controls, og:type and og:image - #267

Merged
Cervator merged 2 commits into
masterfrom
feat/gallery-keys-og-meta
Nov 14, 2026
Merged

Cervator merged 2 commits into
masterfrom
feat/gallery-keys-og-meta

Conversation

@soloturn

@soloturn soloturn commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

AI-assisted change proposal. Filed by agent driven by @soloturn via GDD.

Summary

  • Gallery lightbox: ← / h previous, → / l next, Esc closes. Stepping past either end moves to the neighbouring gallery page, like the on-screen arrows.
  • Gallery overview (lightbox closed): ← / h and → / l go to the previous and next gallery page, wrapping at the ends.
  • Ctrl, Cmd and Alt combinations are left to the browser.
  • The layout now emits og:type and og:image (the logo by default). Blog posts pass their cover as a 1200px jpg and type article, so shared posts get a real preview.

Test plan

  • Firefox on macOS: all keys in the lightbox and on the overview, against a local build
  • Built HTML: post has og:type=article and its cover as og:image; home page has website and the logo
  • astro check, ESLint and Prettier pass
  • Safari

Related

Lightbox: arrows/h/l step, Esc closes; modifier combos are left to the browser. Layout gains og:type and og:image (logo by default); posts pass their cover as a 1200px jpg and type article. Refs #222, #25.

Co-Authored-By: soloturn <soloturn@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Pre-merge checks: Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Description check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

With the lightbox closed, ←/h and →/l go to the previous and next gallery page, wrapping at the ends like the lightbox does. Refs #222.

Co-Authored-By: soloturn <soloturn@gmail.com>
@Cervator
Cervator merged commit b6bf5bb into master Nov 14, 2026
6 checks passed
@Cervator
Cervator deleted the feat/gallery-keys-og-meta branch November 14, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants