Update api-reference shortcode
This commit is contained in:
		
							parent
							
								
									c1294b4c76
								
							
						
					
					
						commit
						c6b6e5acb6
					
				|  | @ -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