Skip to content

Commit 75961d8

Browse files
Merge pull request #377 from layer5io/examples
fix hextra include-snippet example
2 parents fd931aa + 20b4bfd commit 75961d8

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

content/_index.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
11
---
2-
title: Academy
2+
title: Academy
33
---
44

55
<!-- this page is only used in local dev setup , this wont be used or rendered in production -->
66

7-
{{% blocks/lead color="primary" %}}
7+
- [Learning Paths](https://cloud.layer5.io/academy/learning-paths)
8+
- [Challenges](https://cloud.layer5.io/academy/challenges)
9+
- [Certifications](https://cloud.layer5.io/academy/certifications)
810

9-
Welcome to the dev environment for your Academy
11+
---
12+
13+
### Welcome to dev environment for your Academy
14+
15+
This is just a development page that shows during the build process. The development process is extraordinarily simple - you can start building it out bit by bit or dive right in.
16+
17+
#### What Your Academy Will Look Like
18+
19+
When published, your Academy will look like ([https://cloud.layer5.io/academy/](https://cloud.layer5.io/academy/) and will feature **Learning Paths, Challenges, and Certifications** that are not set to `draft: true` in their front matter.)
20+
21+
It provides structured, Markdown-authored curricula with hands-on practice and assessments. Content is organized hierarchically and supports rich media.
22+
23+
#### Build Process
24+
25+
Here's the simple workflow:
26+
> 1. **Develop locally** - Make your changes and test them here
27+
28+
> 2. **Merge when ready** - Your Academy stays private until you decide to publish
1029
11-
[Learning Paths](/academy/learning-paths/)
30+
> 3. **Publish when ready** - Release it to your organization
1231
13-
{{% /blocks/lead %}}
32+
**Need help?** [Documentation](https://github.com/layer5io/layer5-academy/blob/master/README.md) | [Contact Us](https://mesheryio.slack.com/ssb/redirect)

content/content-formatting-examples/hextra/include.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ draft: true
99
Includes the rendered content of another page inline. This shortcode **must** use the percent-delimiter syntax.
1010

1111
```text
12-
{{%/* hextra/include "examples/include-snippet" */%}}
12+
{{%/* hextra/include "include-snippet" */%}}
1313
```
1414

1515
**Parameters:**
@@ -20,4 +20,4 @@ Includes the rendered content of another page inline. This shortcode **must** us
2020

2121
**Example (included from a separate page):**
2222

23-
{{% hextra/include "examples/include-snippet" %}}
23+
{{% hextra/include "include-snippet" %}}

0 commit comments

Comments
 (0)