Hide subfolder navigation but don't exclude the folders #435
Replies: 1 comment 1 reply
-
|
I believe this is already possible, unless I understand you wrong. Take for example: https://obsidian-html.github.io . Note that there is no folder Note that path Compare that with So if you don't have a setting in your config yet for toggles:
features:
create_index_from_dir_structure:
enabled: True
exclude_subfolders:
- ".git"
- "__src"
- "md"
- "obs.html"
- "assets"
exclude_files:
- "favicon.ico"
- "not_created.html"
Note that wildcards, glob patterns, etc, are not supported. So at the moment you have to add 1 line for each assets folder that you want to exclude. If I understand you correctly you have multiple of these folders. It should be relatively easy to add something like a glob pattern support to exclude all asset folders in one go. If you could use this, please make an issue for it, then I will add it in the next release. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice if I could hide subfolders from the navigation list in the left pane without excluding the folders via
exclude_subfolders. The scenario is:assetsinstead of in the same folder as the noteprocess_all: Truesince starting from the entry point doesn't find all of my notes.assetsappears in my HTML outputI can't exclude
assetsand still have the images, but it would be great to have some way to keep it out of the HTML folder list.It's a minor thing at worst but this would be a really good future update for me.
Beta Was this translation helpful? Give feedback.
All reactions