We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec318d commit 2bb4c20Copy full SHA for 2bb4c20
src/lib/search-index.js
@@ -80,7 +80,9 @@ export default function searchIndex(config) {
80
const articlePublishedTag = postDocument.querySelector(
81
"meta[property='article:published_time']"
82
)
83
- const publishedDate = articlePublishedTag ? articlePublishedTag.getAttribute("content") : null
+ const publishedDate = articlePublishedTag
84
+ ? articlePublishedTag.getAttribute("content")
85
+ : null
86
87
const robotsTag = postDocument.querySelector("meta[name=robots]")
88
const robotsValue = robotsTag.getAttribute("content")
0 commit comments