- {{- partial "copy" . }}
-
+ {{ if not .Params.disableComments }}
+
+ {{- partial "copy" . }}
+
+ {{ end }}
diff --git a/content/over.md b/content/over.md index 682b676..30c5cc6 100644 --- a/content/over.md +++ b/content/over.md @@ -1,5 +1,6 @@ --- title: Hallo daar! +disableComments: true aliases: - /about/ --- @@ -30,7 +31,7 @@ Als er iets anders is waarmee je graag Red Zuurdesem wenst te helpen, heel graag Bedankt! diff --git a/content/zoeken.md b/content/zoeken.md index 4be7c03..7f19c45 100644 --- a/content/zoeken.md +++ b/content/zoeken.md @@ -1,27 +1,10 @@ --- title: Zoeken +disableComments: true aliases: - /search/ --- Niet gevonden wat je zocht? Probeer hier je geluk. -Begin gewoon met typen om te zoeken! - - -
- - +{{< search >}} diff --git a/layouts/shortcodes/search.html b/layouts/shortcodes/search.html new file mode 100644 index 0000000..5960701 --- /dev/null +++ b/layouts/shortcodes/search.html @@ -0,0 +1,32 @@ +