Skip to content

Commit 2bb4c20

Browse files
committed
prettier
1 parent 5ec318d commit 2bb4c20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/search-index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ export default function searchIndex(config) {
8080
const articlePublishedTag = postDocument.querySelector(
8181
"meta[property='article:published_time']"
8282
)
83-
const publishedDate = articlePublishedTag ? articlePublishedTag.getAttribute("content") : null
83+
const publishedDate = articlePublishedTag
84+
? articlePublishedTag.getAttribute("content")
85+
: null
8486

8587
const robotsTag = postDocument.querySelector("meta[name=robots]")
8688
const robotsValue = robotsTag.getAttribute("content")

0 commit comments

Comments
 (0)