evidence
evidence copied to clipboard
[Bug]: Templated pages directories cannot be hidden from sidebar
Describe the bug
When creating nested templated pages -using the [word].md template inherited from Svelte-, the sidebar shows the folder structure despite no index.md file inside the folder.
There is no option to hide this folder structure from the sidebar, and this confuses the end user, specially if the templated pages are to be accessed only through other sections/pages, and not through the sidebar.
Steps to Reproduce
- Create one top-level folder in
/pages/namedsample - Create another folder inside
samplecalledsublevel - Create a markdown templated page called
[id].mdinside thesublevelfolder - Do not create an
index.mdfile
After this, the sidebar shows the new folder structure, without hyperlink
Logs
System Info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 2.14 GB / 15.73 GB
Binaries:
Node: 22.9.0 - ~\AppData\Local\fnm_multishells\24324_1739276839962\node.EXE
npm: 11.0.0 - ~\AppData\Local\fnm_multishells\24324_1739276839962\npm.CMD
pnpm: 8.8.0 - ~\AppData\Local\pnpm\pnpm.EXE
bun: 1.2.2 - ~\scoop\shims\bun.EXE
Browsers:
Chrome: 132.0.6834.160
Edge: Chromium (131.0.2903.146)
Internet Explorer: 11.0.19041.4355
npmPackages:
@evidence-dev/bigquery: ^2.0.7 => 2.0.8
@evidence-dev/components: ^3.5.48 => 3.5.48
@evidence-dev/core-components: ^5.1.2 => 5.1.2
@evidence-dev/csv: ^1.0.12 => 1.0.13
@evidence-dev/databricks: ^1.0.7 => 1.0.7
@evidence-dev/duckdb: ^1.0.13 => 1.0.13
@evidence-dev/evidence: ^40.0.9 => 40.0.9
@evidence-dev/motherduck: ^1.0.2 => 1.0.3
@evidence-dev/mssql: ^1.0.9 => 1.1.1
@evidence-dev/mysql: ^1.1.3 => 1.1.3
@evidence-dev/postgres: ^1.0.6 => 1.0.6
@evidence-dev/snowflake: ^1.1.0 => 1.2.1
@evidence-dev/sqlite: ^2.0.6 => 2.0.6
@evidence-dev/trino: ^1.0.8 => 1.0.8
@sveltejs/adapter-static: ^3.0.5 => 3.0.6
Severity
annoyance
Additional Information, or Workarounds
No response