Skip to content

Commit

Permalink
updated search title value
Browse files Browse the repository at this point in the history
  • Loading branch information
bluedeepart committed Jan 20, 2025
1 parent 8e1ea43 commit 54fa8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/resources/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export async function coveoResources(target) {
const subCategory = encodeURIComponent(getMetadata('sub-category').trim());
let searchTitle = encodeURIComponent(getMetadata('search-title').trim());
if (!searchTitle) {
searchTitle = encodeURIComponent(getMetadata('title').trim());
searchTitle = encodeURIComponent(getMetadata('og:title').trim());
}
let params;
if (!subCategory) {
Expand Down

0 comments on commit 54fa8f1

Please sign in to comment.