Skip to content

Commit

Permalink
SearchAction already existed in the header.
Browse files Browse the repository at this point in the history
  • Loading branch information
codecodeio committed Jun 11, 2024
1 parent d556ac0 commit 937d8bd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions best-cigars-guide/blocks/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ async function buildLdJson(container) {
'@id': 'https://www.famous-smoke.com',
},
inLanguage: 'en-US',
potentialAction: {
'@type': 'SearchAction',
target: 'https://www.famous-smoke.com/best-cigars-guide/search?q={query}',
query: 'required',
},
};

// Change type for category pages
Expand Down Expand Up @@ -128,8 +123,6 @@ async function buildLdJson(container) {
};
}

console.log(ldJson);

addLdJsonScript(container, ldJson);
}

Expand Down

0 comments on commit 937d8bd

Please sign in to comment.