Fix broken link to katex CSS

Followup to https://github.com/matrix-org/matrix-spec/pull/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`).
pull/2241/head
Richard van der Hoff 1 month ago
parent 4cafe7d9f4
commit 4341db3a6b

@ -0,0 +1 @@
Inline Olm & Megolm specifications.

@ -13,8 +13,8 @@
<head>
{{ partial "head.html" . }}
{{ if .Page.Store.Get "hasMath" }}
<link href="/css/katex.min.css" rel="preload" as="style">
<link href="/css/katex.min.css" rel="stylesheet">
<link href="{{ relURL "css/katex.min.css" }}" rel="preload" as="style">
<link href="{{ relURL "css/katex.min.css" }}" rel="stylesheet">
{{ end }}
</head>
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">

Loading…
Cancel
Save