mirror of https://github.com/docker/docs.git
hugo: remove unused templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
73f137e77b
commit
297f867bd1
|
@ -1,3 +0,0 @@
|
|||
<aside class="space-y-4 w-[300px] lg:hidden">
|
||||
{{ partial "toc-api.html" . }}
|
||||
</aside>
|
|
@ -1,2 +0,0 @@
|
|||
<script type="module">
|
||||
</script>
|
|
@ -1,18 +0,0 @@
|
|||
<div class="text-lg pb-2">{{ T "tableOfContents" }}</div>
|
||||
<nav id="TableOfContents">
|
||||
<ul>
|
||||
{{ $openapi := index site.Data.api .Params.apidata }}
|
||||
{{ range $path, $pathKeys := $openapi.paths }}
|
||||
{{ range $key, $properties := $pathKeys }}
|
||||
{{ if in "get put patch post delete" $key }}
|
||||
<li>
|
||||
<a
|
||||
href="#{{ $properties.operationId | default (urlize $properties.summary) }}"
|
||||
>{{ $properties.summary }}</a
|
||||
>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
Loading…
Reference in New Issue