Skip to content

Commit 384b924

Browse files
committed
Address Feedback
1 parent 08d3815 commit 384b924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

structured-data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@
551551
};
552552

553553
const buildWebPageSchema = (options) => {
554-
var enriched = options && options.enriched;
554+
const enriched = options && options.enriched;
555555
const lang = getLanguage();
556556
const desc = getMetaDescription();
557557
const schema = {
@@ -566,7 +566,7 @@
566566
if (desc) schema.description = desc;
567567
if (enriched) {
568568
schema.speakable = SPEAKABLE;
569-
var dates = getPageDates();
569+
const dates = getPageDates();
570570
if (dates.datePublished) schema.datePublished = dates.datePublished;
571571
if (dates.dateModified) schema.dateModified = dates.dateModified;
572572
}

0 commit comments

Comments
 (0)