Merge pull request #20651 from dvdksn/unused-tpls

hugo: remove unused templates
This commit is contained in:
David Karlsson 2024-08-19 18:30:11 +02:00 committed by GitHub
commit fca37d6a18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 23 deletions

View File

@ -1,3 +0,0 @@
<aside class="space-y-4 w-[300px] lg:hidden">
{{ partial "toc-api.html" . }}
</aside>

View File

@ -1,2 +0,0 @@
<script type="module">
</script>

View File

@ -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>