From 8f5087e07749437f75c4361a9869659a9f34ae2e Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Fri, 11 Aug 2023 14:24:31 +0200 Subject: [PATCH] Hide "See Also" section if see_also is not provided --- layouts/partials/see_also.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/see_also.html b/layouts/partials/see_also.html index 15f72c8..32fd1ef 100644 --- a/layouts/partials/see_also.html +++ b/layouts/partials/see_also.html @@ -1,3 +1,4 @@ +{{ if .Params.see_also }}

See also:

+{{ end }}