Merge pull request #28518 from sftim/20210620_remove_capture_shortcode

Remove capture shortcode
pull/28597/head
Kubernetes Prow Robot 2021-06-23 18:57:40 -07:00 committed by GitHub
commit c4d103bf8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -1,8 +0,0 @@
{{ $_hugo_config := `{ "version": 1 }`}}
{{- $id := .Get 0 -}}
{{- if not $id -}}
{{- errorf "missing id in capture" -}}
{{- end -}}
{{- $capture_id := printf "capture %s" $id -}}
{{- .Page.Scratch.Set $capture_id .Inner -}}
{{ warnf "Invalid shortcode: %s, in %q" $capture_id (relLangURL .Page.Path) }}