Skip to content

Commit

Permalink
fix: use relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
daylinmorgan committed Nov 13, 2023
1 parent ebac9e9 commit 870f74a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
</head>
<body id="body" class="text-ctp-text max-w-screen bg-ctp-base flex items-center justify-center">
<div id="ROOT"></div>
<script type="text/javascript" src="/nimpkgs.js"></script>
<script type="text/javascript" src="nimpkgs.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/nimpkgs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ proc searchBar(): Vnode =
proc headerBar(): VNode =
result = buildHtml(tdiv(class = "mt-5 mx-5 flex flex-wrap")):
tdiv(class = "flex items-center my-3 grow"):
img(src = "/img/logo.svg", class = "inline h-1em md:h-2em px-1")
img(src = "img/logo.svg", class = "inline h-1em md:h-2em px-1")
span(class = "font-bold md:text-4xl text-lg",
style = "font-variation-settings: 'CASL' 1".toCss):
text "pkgs"
Expand Down

0 comments on commit 870f74a

Please sign in to comment.