diff --git a/layouts/partials/paige/img.html b/layouts/partials/paige/img.html
index 4af25530..39018bf1 100644
--- a/layouts/partials/paige/img.html
+++ b/layouts/partials/paige/img.html
@@ -20,6 +20,10 @@
{{ $title := $params.title }}
{{ $width := $params.width }}
+{{ if and (not $src) (not $resource) }}
+ {{ errorf "paige/img: no src or resource" }}
+{{ end }}
+
{{ $intrinsicheight := $height }}
{{ $intrinsicwidth := $width }}
diff --git a/layouts/partials/paige/link.html b/layouts/partials/paige/link.html
index 036c502d..08657913 100644
--- a/layouts/partials/paige/link.html
+++ b/layouts/partials/paige/link.html
@@ -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
diff --git a/layouts/partials/paige/script.html b/layouts/partials/paige/script.html
index 0297ab67..8720a92b 100644
--- a/layouts/partials/paige/script.html
+++ b/layouts/partials/paige/script.html
@@ -9,6 +9,10 @@
{{ $raw := $params.raw }}
{{ $src := $params.src }}
+{{ if not $src }}
+ {{ errorf "paige/script: no src" }}
+{{ end }}
+
{{ if $raw }}
{{ $src = $src }}
{{ else }}