Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: empty image check #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Feat: empty image check #8

wants to merge 1 commit into from

Conversation

Tiaan-CC
Copy link

@Tiaan-CC Tiaan-CC commented Nov 5, 2024

Description

Fixed breaking builds when the image src is empty. Added a check to see if the image src is equal to null. Additionally adjusted the cards component to use the image object.

Changes Made

Updated the empty src check in the image plugin in the eleventy.js file. Removed empty url/alt fields from index.html & cards.bookshop.yml. Updated cards.eleventy.liquid to use the correct image url

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