We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d3815 commit 384b924Copy full SHA for 384b924
structured-data.js
@@ -551,7 +551,7 @@
551
};
552
553
const buildWebPageSchema = (options) => {
554
- var enriched = options && options.enriched;
+ const enriched = options && options.enriched;
555
const lang = getLanguage();
556
const desc = getMetaDescription();
557
const schema = {
@@ -566,7 +566,7 @@
566
if (desc) schema.description = desc;
567
if (enriched) {
568
schema.speakable = SPEAKABLE;
569
- var dates = getPageDates();
+ const dates = getPageDates();
570
if (dates.datePublished) schema.datePublished = dates.datePublished;
571
if (dates.dateModified) schema.dateModified = dates.dateModified;
572
}
0 commit comments