Skip to content

Handle empty thumbnail specification#52

Merged
stefanv merged 2 commits into
myst-templates:mainfrom
stefanv:handle-no-thumbnail
Nov 19, 2025
Merged

Handle empty thumbnail specification#52
stefanv merged 2 commits into
myst-templates:mainfrom
stefanv:handle-no-thumbnail

Conversation

@stefanv

@stefanv stefanv commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

@rowanc1 Just want to make sure this is on your radar for when you get back.

I'll merge for now so we can get Freek's typst book template online again, but happy to revisit.

@stefanv
stefanv merged commit 024e475 into myst-templates:main Nov 19, 2025
4 checks passed
@rowanc1

rowanc1 commented Nov 19, 2025

Copy link
Copy Markdown
Member

Nice, that looks great! Allowing relative GitHub links to work!

@stefanv

stefanv commented Nov 19, 2025

Copy link
Copy Markdown
Contributor Author

Yeah, I literally only added if (!thumbnail) return ''; 😅

(One template didn't have it, and it caused Internal Server Errors.)

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