From e88faae19225d519bafa7f6f12bc8ce8059c78fb Mon Sep 17 00:00:00 2001 From: Talha Date: Fri, 11 Nov 2022 09:59:35 +0500 Subject: [PATCH] Hide node explorer in the exported HTML When a tiddler is exported in HTML and the tiddler had "Node Explorer" enabled then it becomes part of the exported HTML. This PR removes the "Node Explorer" from the exported HTML. --- ...ma_viewtemplates_node-explorer-details.tid | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 source/shiraz/viewtemplates/$__plugins_kookma_viewtemplates_node-explorer-details.tid diff --git a/source/shiraz/viewtemplates/$__plugins_kookma_viewtemplates_node-explorer-details.tid b/source/shiraz/viewtemplates/$__plugins_kookma_viewtemplates_node-explorer-details.tid new file mode 100644 index 0000000..a2faa27 --- /dev/null +++ b/source/shiraz/viewtemplates/$__plugins_kookma_viewtemplates_node-explorer-details.tid @@ -0,0 +1,27 @@ +code-body: yes +created: 20210501201700405 +modified: 20221012131832464 +tags: +title: $:/plugins/kookma/viewtemplates/node-explorer-details +type: text/vnd.tiddlywiki + +\import $:/plugins/kookma/viewtemplates/node-explorer + + +<$list filter="[prefix[yes]]" variable=0> + +<$list filter="[all[current]get[node-explorer]!match[hide]] [all[current]!has[node-explorer]]" variable=null> +<$list filter="[subfilter] +[count[]compare:number:gteq[1]]" variable=null> + +<$macrocall + $name=details + label="Node Explorer" + status="" + labelClass="alert alert-secondary py-1 my-2" + srcClass ="alert border-secondary py-0" + src={{$:/plugins/kookma/viewtemplates/node-explorer}} + /> + + + + \ No newline at end of file