Allow global setting to block dataview-rendering in specific folders #1632
Gewerd-Strauss
started this conversation in
Ideas
Replies: 1 comment
-
A temporary patch to exclude certain folders from being indexed by dataview: Open your Add the following line(s) at the top of that async function:
You can repeat this line many times for each of the subfolder to exclude.
You need to re-apply the patch everytime the plugin is updated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I use this plugin a lot, and often several times per note. This also extends into my templates, which I often need to edit. There is one issue: I have a lot of templates that take a couple of seconds to load because DV is loading the tables and inline queries it contains.
Obviously, in a templates-folder I don't need to see the output of a query - it's just a template after all.
The imo simplest solution would be to add a global setting where I can add foldes to be ignored, comparable to how we can exclude folders and files under
Settings → Files and Links → Excluded Files
The only alternative I could think of - in fact it was my first idea - would be to add a section of frontmatter to a template that gets removed during templating, so that I then could leverage the "Force Note view Mode-"plugin to force a template into source mode.
But that is both more prone to bugs, and... I believe much more work. Not to mention that:
Any alternative suggestions and ideas are welcome.
Thank you,
Sincerely,
~Gw
Beta Was this translation helpful? Give feedback.
All reactions