mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
20 lines
No EOL
494 B
HTML
20 lines
No EOL
494 B
HTML
{{- $original := .Get "src" }}
|
|
{{- with .Page.Resources.Match $original }}
|
|
{{- range . }}
|
|
{{- $original = .RelPermalink }}
|
|
{{- end }}
|
|
{{- end }}
|
|
<rapi-doc
|
|
allow-spec-file-download="true"
|
|
default-schema-tab="example"
|
|
font-size="largest"
|
|
layout="column"
|
|
load-fonts="false"
|
|
render-style="view"
|
|
schema-description-expanded="true"
|
|
schema-style="table"
|
|
show-header="false"
|
|
spec-url="{{ $original }}"
|
|
sort-tags="true"
|
|
></rapi-doc>
|
|
{{- .Page.Store.Set "htmlHasSwagger" true }} |