hugo-theme-relearn/layouts/partials/shortcodes/swagger.html

11 lines
577 B
HTML
Raw Normal View History

2023-06-09 21:42:03 +00:00
{{ warnf "%q: DEPRECATED shortcode `swagger`found, use `openapi` instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration/#5130-2023-05-17" .context.File.Path }}
{{- $page := .page }}
{{- if and (not $page) .context }}
{{- $page = .context }}
{{- warnf "%q: DEPRECATED parameter 'context' for shortcode 'swagger' found, use 'page' instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration/#5180-2023-07-27" $page.File.Path }}
{{- end }}
{{- partial "shortcodes/openapi.html" (dict
"page" $page
"src" .src
"id" .id
) }}