Merge pull request #18631 from docker/revert-18627-main

Revert "search: add a stronger main content identifier"
This commit is contained in:
David Karlsson 2023-11-10 15:43:10 +01:00 committed by GitHub
commit ac3e0af07d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
{{ .Scratch.Set "headings" slice }} {{ .Scratch.Set "headings" slice }}
{{ .Scratch.Set "subheadings" slice }} {{ .Scratch.Set "subheadings" slice }}
{{ partial "breadcrumbs.html" . }} {{ partial "breadcrumbs.html" . }}
<article id="content" class="prose max-w-none dark:prose-invert"> <article class="prose max-w-none dark:prose-invert">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ $data.short | .RenderString (dict "display" "block") }} {{ $data.short | .RenderString (dict "display" "block") }}
{{ if $data.deprecated }} {{ if $data.deprecated }}

View File

@ -4,7 +4,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "breadcrumbs.html" . }} {{ partial "breadcrumbs.html" . }}
<article id="content" class="prose max-w-none dark:prose-invert"> <article class="prose max-w-none dark:prose-invert">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<table> <table>
<thead> <thead>

View File

@ -4,7 +4,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "breadcrumbs.html" . }} {{ partial "breadcrumbs.html" . }}
<article id="content" class="prose max-w-none dark:prose-invert"> <article class="prose max-w-none dark:prose-invert">
{{ with .Title }} {{ with .Title }}
<h1>{{ . }}</h1> <h1>{{ . }}</h1>
{{ end }} {{ end }}

View File

@ -4,7 +4,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "breadcrumbs.html" . }} {{ partial "breadcrumbs.html" . }}
<article id="content" class="prose max-w-none dark:prose-invert"> <article class="prose max-w-none dark:prose-invert">
{{ with .Title }} {{ with .Title }}
<h1>{{ . }}</h1> <h1>{{ . }}</h1>
{{ end }} {{ end }}

View File

@ -4,7 +4,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "breadcrumbs.html" . }} {{ partial "breadcrumbs.html" . }}
<article id="content" class="prose max-w-none dark:prose-invert"> <article class="prose max-w-none dark:prose-invert">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<blockquote> <blockquote>
<p><strong>Note</strong></p> <p><strong>Note</strong></p>