Merge pull request #28518 from sftim/20210620_remove_capture_shortcode
Remove capture shortcodepull/28597/head
commit
c4d103bf8e
|
@ -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) }}
|
Loading…
Reference in New Issue