Commit 00c2150
Guilherme Dellagustin
fix: Scaling content on Learn page
This commit fixes an issue on the `/learn` page introduced with
the mindmap for scaling.
Acording to my tests:
1. If a folder does not have a `_index.md` file, every file under
the folder will generate a section under the `/learn` page. in
This way, both files, `mindmap.md` and `markmap_content.md`
were generating content. To fix this, I renamed `mindmap.md`
to `_index.md`.
2. When a file does not mave a `description` property in the
frontmatter block, it will use the content of the file as
description. To fix this I added a `description` property to
`mindmap.md` (now renamed to `_index.md`.
Related issues
- #902 (comment)1 parent 78a6381 commit 00c2150
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments