Skip to content

Commit

Permalink
fix meta twitter:image path.
Browse files Browse the repository at this point in the history
  • Loading branch information
codecodeio committed Jun 19, 2024
1 parent efa0bff commit 8e666d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best-cigars-guide/blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default async function decorate(block) {
navTools.innerHTML = searchBox.innerHTML;

// Fix meta image paths
document.querySelectorAll('meta[property="og:image:secure_url"], meta[property="og:image"]').forEach((metaImage) => {
document.querySelectorAll('meta[property="og:image:secure_url"], meta[property="og:image"], meta[name="twitter:image"]').forEach((metaImage) => {
requireSubfolderImagePath(metaImage);
});

Expand Down

0 comments on commit 8e666d4

Please sign in to comment.