diff --git a/layouts/shortcodes/api-reference.html b/layouts/shortcodes/api-reference.html index 6fdceef838..785044dc17 100644 --- a/layouts/shortcodes/api-reference.html +++ b/layouts/shortcodes/api-reference.html @@ -4,4 +4,4 @@ {{ $textArg := .Get "text" }} {{ $page := site.GetPage "page" (printf "%s/%s" $base $pageArg) }} {{ $metadata := $page.Params.api_metadata }} -{{if $textArg}}{{ $textArg }}{{else if $anchorArg}}{{ $anchorArg }}{{else}}{{ $metadata.kind }}{{end}} \ No newline at end of file +{{if $textArg}}{{ $textArg }}{{else if $anchorArg}}{{ $anchorArg }}{{else}}{{ $metadata.kind }}{{end}} \ No newline at end of file