Skip to content

Commit c4015b1

Browse files
committed
fix href prefixing - take II
1 parent f0ee66e commit c4015b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_libs/nav/head.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function createNavItem(item) {
434434
// set style, link and text content of anchor
435435
link.textContent = item.name;
436436
link.classList.add("main-nav-item");
437-
link.href = hosted
437+
link.href = (hosted && !item.href.startsWith("https"))
438438
? origin + "/DataScienceTutorials.jl" + item.href
439439
: item.href;
440440
link.id = item.id;

0 commit comments

Comments
 (0)