Merge pull request #33073 from jihoon-seo/220420_Update_api-reference_shortcode
Update `api-reference` shortcodepull/33104/head
commit
7acae8a086
|
@ -4,4 +4,4 @@
|
|||
{{ $textArg := .Get "text" }}
|
||||
{{ $page := site.GetPage "page" (printf "%s/%s" $base $pageArg) }}
|
||||
{{ $metadata := $page.Params.api_metadata }}
|
||||
<a href="{{ $page.URL }}{{if $anchorArg}}#{{ $anchorArg }}{{end}}">{{if $textArg}}{{ $textArg }}{{else if $anchorArg}}{{ $anchorArg }}{{else}}{{ $metadata.kind }}{{end}}</a>
|
||||
<a href="{{ $page.RelPermalink }}{{if $anchorArg}}#{{ $anchorArg }}{{end}}">{{if $textArg}}{{ $textArg }}{{else if $anchorArg}}{{ $anchorArg }}{{else}}{{ $metadata.kind }}{{end}}</a>
|
Loading…
Reference in New Issue