Skip to content

Commit 390d38f

Browse files
added some description detail to the example LP for the new metadata tag...
1 parent 3398c76 commit 390d38f

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

content/learning-paths/cross-platform/_example-learning-path/questions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ Modify the weight values to be unique and the extra buttons will disappear.
3030
### Why aren't my changes showing up under Learning Paths?
3131

3232
There are various reasons this can happen. One being that the top links on the page will take you to the external site. Make sure that you are still viewing the Hugo server on `localhost`.
33+
34+
### I have a markdown page in my Learning Path that I do not want to have it listed in the navigation pane... how do I hide it?
35+
36+
Simple: in the markdown page's metadata block, add the following metdata tag:
37+
38+
```markdown
39+
hide_from_navpane: true
40+
```

content/learning-paths/cross-platform/_example-learning-path/write-2-metadata.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following metadata is defined in the `_index.md` file:
2626
| learning_objectives | 2-5 bullet points, one sentence each, describing what a reader will learn. Should start with a verb (deploy, measure). |
2727
| prerequisites | Everything needed before this Learning Path can be started. Can include online service accounts, prior knowledge, previous Learning Paths, or specific tools and software. Offers explanatory links when possible. |
2828
| author | The name of the person or people who wrote the Learning Path. |
29+
| hide_from_navpane | Optional: set to **true** if the author does not want a specific markdown page to appear in the navigation pane. |
2930

3031
Look at other Learning Paths for inspiration about how to write a good title, learning objectives, and prerequisites.
3132

0 commit comments

Comments
 (0)