mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
swagger: javascript code does not load in documentation #285
This commit is contained in:
parent
3e489145e7
commit
88a769f2aa
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
{{- else if isset .Site.Params "customswaggerurl" }}
|
||||
<script src="{{ .Site.Params.customSwaggerURL }}"></script>
|
||||
{{- else }}
|
||||
<script src="{{ "/js/rapidoc-min.js" | relURL }}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
||||
<script src="{{ "js/rapidoc-min.js" | relURL }}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
||||
{{- end }}
|
||||
{{- if isset .Params "swaggerinitialize" }}
|
||||
{{- $.Scratch.Set "swaggerInitialize" .Params.swaggerInitialize }}
|
||||
|
|
Loading…
Reference in a new issue