ogygia error
image_ macro_ not_ literal
‹file›:‹line› — import.meta.og.image(): ‹what› must be written out in place (a string literal path, an object literal of plain values).
The build reads the call before any code runs, so the path and options must be literals: no variables, no template strings with ${…}, no function calls. To pick an image at run time, make every candidate at build (import.meta.og.image.glob('./gallery/*.jpg')) and choose among the results.