From 6450e6e1debb25bfda232e3d001a4da51e1cb72c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 27 Jul 2022 13:56:45 +0200 Subject: [PATCH] include guard for widgets --- widgets.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widgets.sh b/widgets.sh index 835e646..8410a0c 100755 --- a/widgets.sh +++ b/widgets.sh @@ -1,5 +1,8 @@ #!/bin/sh +[ -n "$include_widgets" ] && return 0 +include_widgets="$0" + export MD_HTML="false" if [ "$(which awk)" ]; then markdown() { awk -f "$_EXEC/cgilite/markdown.awk"; } -- 2.39.2