Open derekenos opened 4 years ago
This should be fixed by commit https://github.com/CollectionBuilder/collectionbuilder-sa_draft/commit/5e25b8b606582ea0b0a8b848138b6fe35aebbe18
@dcnb, I noticed that after this commit I was only ever seeing the CB logo as the featured image, even when featured-image-link
was specified as a value that had previously worked.
The issue appears to be that the code that you copied from the new SA version assumes that theme.yml
has a single featured-image
configuration option which can be either an objectid
or URL, whereas the theme.yml
is this repo has dedicated featured-image-objectid
and featured-image-link
fields.
I assume that this repo will probably be updated to that single featured-image
config at some point, but in the short term,
I created a pull request here (and assigned to you) that appears to work: https://github.com/CollectionBuilder/collectionbuilder-sa_draft/pull/45
https://github.com/CollectionBuilder/collectionbuilder-sa_draft/blob/master/_includes/image/featured-image.html