diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml
index c826f7da..361889e9 100644
--- a/layouts/_default/list.atom.xml
+++ b/layouts/_default/list.atom.xml
@@ -66,13 +66,20 @@
{{ range $page.OutputFormats }}
{{ $rel := cond (eq .Rel "canonical") "self" .Rel }}
+ {{ $suffix := hasSuffix .Permalink "/paige-search.json" }}
-
+ {{ if not $suffix }}
+
+ {{ end }}
{{ end }}
{{ range $t := $page.Translations }}
{{ range .OutputFormats }}
-
+ {{ $suffix := hasSuffix .Permalink "/paige-search.json" }}
+
+ {{ if not $suffix }}
+
+ {{ end }}
{{ end }}
{{ end }}
diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml
index ea6da0fe..2076e4a3 100644
--- a/layouts/_default/list.rss.xml
+++ b/layouts/_default/list.rss.xml
@@ -42,13 +42,20 @@
{{ range $page.OutputFormats }}
{{ $rel := cond (eq .Rel "canonical") "self" .Rel }}
+ {{ $suffix := hasSuffix .Permalink "/paige-search.json" }}
-
+ {{ if not $suffix }}
+
+ {{ end }}
{{ end }}
{{ range $t := $page.Translations }}
{{ range .OutputFormats }}
-
+ {{ $suffix := hasSuffix .Permalink "/paige-search.json" }}
+
+ {{ if not $suffix }}
+
+ {{ end }}
{{ end }}
{{ end }}