We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b8110 commit 325ba87Copy full SHA for 325ba87
layouts/shortcodes/capture.html
@@ -3,5 +3,6 @@
3
{{- if not $id -}}
4
{{- errorf "missing id in capture" -}}
5
{{- end -}}
6
-{{- $capture_id := printf "__cid_%s" $id -}}
7
-{{- .Page.Scratch.Set $capture_id .Inner -}}
+{{- $capture_id := printf "capture %s" $id -}}
+{{- .Page.Scratch.Set $capture_id .Inner -}}
8
+{{ warnf "Invalid shortcode: %s, in %q" $capture_id (relLangURL .Page.Path) }}
0 commit comments