Revert "search: add a stronger main content identifier"

This commit is contained in:
David Karlsson
2023-11-10 15:37:39 +01:00
committed by GitHub
parent 5600c7a78c
commit a0dca716e9
5 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
{{ .Scratch.Set "headings" slice }}
{{ .Scratch.Set "subheadings" slice }}
{{ 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>
{{ $data.short | .RenderString (dict "display" "block") }}
{{ if $data.deprecated }}

View File

@@ -4,7 +4,7 @@
{{ define "main" }}
{{ 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>
<table>
<thead>

View File

@@ -4,7 +4,7 @@
{{ define "main" }}
{{ 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 }}
<h1>{{ . }}</h1>
{{ end }}

View File

@@ -4,7 +4,7 @@
{{ define "main" }}
{{ 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 }}
<h1>{{ . }}</h1>
{{ end }}

View File

@@ -4,7 +4,7 @@
{{ define "main" }}
{{ 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>
<blockquote>
<p><strong>Note</strong></p>