summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/conspiracy/layouts/_default/single.html')
-rw-r--r--themes/conspiracy/layouts/_default/single.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/conspiracy/layouts/_default/single.html b/themes/conspiracy/layouts/_default/single.html
index 231daf7..c7135f8 100644
--- a/themes/conspiracy/layouts/_default/single.html
+++ b/themes/conspiracy/layouts/_default/single.html
@@ -6,7 +6,11 @@
{{- if .Params.Date }} <strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }}
</header>
{{- end }}
+ {{- if .Params.noindex }}
<main>
+ {{- else }}
+ <main data-pagefind-body>
+ {{- end }}
{{- if .Params.external_links }}
<div class="links">
{{- range .Params.external_links }}