fix: remove heading IDs for h1 elements

Closes #18983

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-12-28 20:55:13 +01:00
parent 4508a573e8
commit 77b0a087c5
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
{{ partial "breadcrumbs.html" . }}
<article class="DocSearch-content prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
{{ $data.short | .RenderString (dict "display" "block") }}
{{ if $data.deprecated }}

View File

@ -6,7 +6,7 @@
{{ partial "breadcrumbs.html" . }}
<article class="DocSearch-content prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
<table>
<thead>

View File

@ -6,7 +6,7 @@
{{ partial "breadcrumbs.html" . }}
<article class="DocSearch-content prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
{{ .Content }}
</article>

View File

@ -6,7 +6,7 @@
{{ partial "breadcrumbs.html" . }}
<article class="DocSearch-content prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
{{ .Content }}
</article>

View File

@ -6,7 +6,7 @@
{{ partial "breadcrumbs.html" . }}
<article class="DocSearch-content prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
<blockquote>
<p><strong>Note</strong></p>