mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
openapi: allow toc to scroll page #526
This commit is contained in:
parent
7875bfcf4b
commit
695052b8bc
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
{{- $urlOpenapi = printf "%s?%d" $urlOpenapi now.Unix }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<script>window.noZensmooth = true;</script>
|
||||
<script src="{{ $urlOpenapi }}" defer></script>
|
||||
{{- $urlOpenapi := replace $urlOpenapi "swagger-ui-bundle" "swagger-ui-standalone-preset" }}
|
||||
<script src="{{ $urlOpenapi }}" defer></script>
|
||||
|
|
Loading…
Reference in a new issue