Skip to content

Commit 4083a7a

Browse files
committed
Fix broken link to katex CSS
Followup to #2226, which broke the build. These links to the static CSS are broken in the case that the spec is built for a subdirectory (such as `unstable`).
1 parent 4cafe7d commit 4083a7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/docs/baseof.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<head>
1414
{{ partial "head.html" . }}
1515
{{ if .Page.Store.Get "hasMath" }}
16-
<link href="/css/katex.min.css" rel="preload" as="style">
17-
<link href="/css/katex.min.css" rel="stylesheet">
16+
<link href="{{ relURL "css/katex.min.css" }}" rel="preload" as="style">
17+
<link href="{{ relURL "css/katex.min.css" }}" rel="stylesheet">
1818
{{ end }}
1919
</head>
2020
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">

0 commit comments

Comments
 (0)