Skip to content

Commit 8e4eaff

Browse files
committed
Clarified a comment.
1 parent bc69008 commit 8e4eaff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/App/Views/DocumentationPageProcessor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ struct DocumentationPageProcessor {
8383
try document.head()?.append(self.javascriptLinks)
8484
if let canonicalUrl = self.canonicalUrl {
8585
try document.head()?.append(
86-
// We should not use `url` here as some of the DocC JavaScript lowercases
87-
// both the `og:url` and `twitter:url` properties, if present. It is better
88-
// to have no `og:url` and `twitter:url` properties than incorrect ones.
86+
// We should not use Plot's `url` helper here as some of the DocC JavaScript
87+
// lowercases both the `og:url` and `twitter:url` properties, if present. It's
88+
// better to have no `og:url` and `twitter:url` properties than incorrect ones.
8989
Plot.Node.link(
9090
.rel(.canonical),
9191
.href(canonicalUrl)

0 commit comments

Comments
 (0)