mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-23 11:14:10 +02:00
Update docs/baseof.html
Brings in upstream changes Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
9c4ddb6fa8
commit
33858b9ac2
|
|
@ -1,11 +1,14 @@
|
||||||
{{/*
|
{{/*
|
||||||
|
|
||||||
A copy of the baseof.html partial in Docsy, modified
|
A copy of the baseof.html partial in Docsy, modified to:
|
||||||
to remove the right-hand column from the layout.
|
|
||||||
|
|
||||||
*/}}
|
* generate a static file `versions.json` that can be used to populate the
|
||||||
|
version picker.
|
||||||
|
* remove the right-hand column from the layout.
|
||||||
|
|
||||||
{{/* Generate a static file versions.json that can be used to populate the version picker */}}
|
*/ -}}
|
||||||
|
|
||||||
|
{{/* Generate a static file versions.json that can be used to populate the version picker */ -}}
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
{{- /* Load all changelog subpages, sorted by release date */ -}}
|
{{- /* Load all changelog subpages, sorted by release date */ -}}
|
||||||
{{ $changelog := site.GetPage "changelog" }}
|
{{ $changelog := site.GetPage "changelog" }}
|
||||||
|
|
@ -28,7 +31,9 @@
|
||||||
<html itemscope itemtype="http://schema.org/WebPage"
|
<html itemscope itemtype="http://schema.org/WebPage"
|
||||||
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
|
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
|
||||||
{{ with .Site.Language.Lang }} lang="{{ . }}" {{- end }} {{/**/ -}}
|
{{ with .Site.Language.Lang }} lang="{{ . }}" {{- end }} {{/**/ -}}
|
||||||
class="no-js">
|
class="no-js"
|
||||||
|
{{- $darkMode := partialCached "dark-mode-config.html" "dark-mode-global" -}}
|
||||||
|
{{- if $darkMode.enable }} data-theme-init{{ end }}>
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -37,7 +42,7 @@
|
||||||
{{ partial "navbar.html" . }}
|
{{ partial "navbar.html" . }}
|
||||||
</header>
|
</header>
|
||||||
<div class="container-fluid td-outer">
|
<div class="container-fluid td-outer">
|
||||||
<div class="td-main">
|
<div class="td-main" {{- partialCached "td/scrollspy-attr.txt" . .Section | safeHTMLAttr }}>
|
||||||
<div class="row flex-xl-nowrap">
|
<div class="row flex-xl-nowrap">
|
||||||
<aside class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
|
<aside class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
|
||||||
{{ partial "sidebar.html" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue