Add input errors for img, link, script

This commit is contained in:
Will Faught
2023-03-05 14:34:20 -08:00
parent b728ac91a7
commit 01fe52fb53
3 changed files with 12 additions and 0 deletions

View File

@@ -11,6 +11,10 @@
{{ $referrerpolicy := $params.referrerpolicy | default "no-referrer" }}
{{ $sass := $params.sass }}
{{ if not $href }}
{{ errorf "paige/link: no href" }}
{{ end }}
{{ if not $raw }}
{{ $resource := partial "paige/resource.html" (dict
"page" $page