mirror of https://github.com/docker/docs.git
commit
e77df54c9e
|
@ -12,8 +12,10 @@
|
||||||
{{ .Scratch.Set "headings" slice }}
|
{{ .Scratch.Set "headings" slice }}
|
||||||
{{ .Scratch.Set "subheadings" slice }}
|
{{ .Scratch.Set "subheadings" slice }}
|
||||||
{{ partial "breadcrumbs.html" . }}
|
{{ partial "breadcrumbs.html" . }}
|
||||||
<article class="prose max-w-none dark:prose-invert">
|
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||||
<h1>{{ .Title }}</h1>
|
{{ with .Title }}
|
||||||
|
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||||
|
{{ end }}
|
||||||
{{ $data.short | .RenderString (dict "display" "block") }}
|
{{ $data.short | .RenderString (dict "display" "block") }}
|
||||||
{{ if $data.deprecated }}
|
{{ if $data.deprecated }}
|
||||||
<blockquote class="warning">
|
<blockquote class="warning">
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "breadcrumbs.html" . }}
|
{{ partial "breadcrumbs.html" . }}
|
||||||
<article class="prose max-w-none dark:prose-invert">
|
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||||
<h1>{{ .Title }}</h1>
|
{{ with .Title }}
|
||||||
|
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||||
|
{{ end }}
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "breadcrumbs.html" . }}
|
{{ partial "breadcrumbs.html" . }}
|
||||||
<article class="prose max-w-none dark:prose-invert">
|
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||||
{{ with .Title }}
|
{{ with .Title }}
|
||||||
<h1>{{ . }}</h1>
|
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "breadcrumbs.html" . }}
|
{{ partial "breadcrumbs.html" . }}
|
||||||
<article class="prose max-w-none dark:prose-invert">
|
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||||
{{ with .Title }}
|
{{ with .Title }}
|
||||||
<h1>{{ . }}</h1>
|
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -53,10 +53,10 @@
|
||||||
{{ $isCurrent := eq (urls.Parse $ctx.Permalink).Path .entry.path }}
|
{{ $isCurrent := eq (urls.Parse $ctx.Permalink).Path .entry.path }}
|
||||||
<li class="pl-4 sidebar-hover rounded
|
<li class="pl-4 sidebar-hover rounded
|
||||||
{{ if $isCurrent }} bg-gray-light-200 dark:bg-gray-dark-200{{ end }}">
|
{{ if $isCurrent }} bg-gray-light-200 dark:bg-gray-dark-200{{ end }}">
|
||||||
<span class="flex items-center">
|
<a {{ if $isCurrent }}aria-current="page" {{ end }} class="py-2 w-full truncate block"
|
||||||
<a {{ if $isCurrent }}aria-current="page" {{ end }} class="py-2 w-full truncate"
|
href="{{ .entry.path }}" title="{{ markdownify .entry.title }}"
|
||||||
href="{{ .entry.path }}" title="{{ markdownify .entry.title }}">{{ markdownify .entry.title }}</a>
|
><span>{{ markdownify .entry.title }}</span>
|
||||||
</span>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "breadcrumbs.html" . }}
|
{{ partial "breadcrumbs.html" . }}
|
||||||
<article class="prose max-w-none dark:prose-invert">
|
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||||
<h1>{{ .Title }}</h1>
|
{{ with .Title }}
|
||||||
|
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||||
|
{{ end }}
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><strong>Note</strong></p>
|
<p><strong>Note</strong></p>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue