Skip to content

Commit 37e40c2

Browse files
authored
Merge pull request #3528 from SwiftPackageIndex/fix-3527
Fix 3527
2 parents 0c1e7aa + 2cf55ad commit 37e40c2

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Sources/App/Views/PackageController/PackageShow+View.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ extension PackageShow {
261261
.li(
262262
.a(
263263
.href(homepageUrl),
264+
.data(named: "turbo", value: String(false)),
264265
"Package Homepage"
265266
)
266267
)

Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ <h3>Compatibility</h3>
312312
</div>
313313
</li>
314314
<li>
315-
<a href="https://swiftpackageindex.com/">Package Homepage</a>
315+
<a href="https://swiftpackageindex.com/" data-turbo="false">Package Homepage</a>
316316
</li>
317317
</ul>
318318
</section>

Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_binary_targets.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h3>Compatibility</h3>
316316
</div>
317317
</li>
318318
<li>
319-
<a href="https://swiftpackageindex.com/">Package Homepage</a>
319+
<a href="https://swiftpackageindex.com/" data-turbo="false">Package Homepage</a>
320320
</li>
321321
</ul>
322322
</section>

Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_customCollection.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h3>Compatibility</h3>
315315
</div>
316316
</li>
317317
<li>
318-
<a href="https://swiftpackageindex.com/">Package Homepage</a>
318+
<a href="https://swiftpackageindex.com/" data-turbo="false">Package Homepage</a>
319319
</li>
320320
</ul>
321321
</section>

0 commit comments

Comments
 (0)