From 74e119b6e2ce33c3dc66ec078396dfac6314c6c4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 30 Dec 2023 16:35:36 +0100 Subject: theme: Add static page search with pagefind --- themes/conspiracy/layouts/_default/baseof.html | 5 +++++ themes/conspiracy/layouts/_default/single.html | 4 ++++ themes/conspiracy/layouts/partials/header.html | 3 +++ 3 files changed, 12 insertions(+) (limited to 'themes/conspiracy/layouts') diff --git a/themes/conspiracy/layouts/_default/baseof.html b/themes/conspiracy/layouts/_default/baseof.html index eb163b6..9557f19 100644 --- a/themes/conspiracy/layouts/_default/baseof.html +++ b/themes/conspiracy/layouts/_default/baseof.html @@ -5,6 +5,7 @@ {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "footer.html" . -}} + 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 }} {{ .Date.Format "2006-01-02" }}{{- end }} {{- end }} + {{- if .Params.noindex }}
+ {{- else }} +
+ {{- end }} {{- if .Params.external_links }} +
{{- range site.Params.profile_links }} {{ .name }} -- cgit