mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-12 22:44:09 +01:00
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`).
This commit is contained in:
parent
4cafe7d9f4
commit
4341db3a6b
1
changelogs/internal/newsfragments/2241.clarification
Normal file
1
changelogs/internal/newsfragments/2241.clarification
Normal file
|
|
@ -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…
Reference in a new issue