From 641d2e466951bfb4a7f05c356f9ff36681f3524d Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Thu, 2 Apr 2026 11:44:48 -0500 Subject: [PATCH 1/2] fix hextra include-snippet example Signed-off-by: Lee Calcote --- content/content-formatting-examples/hextra/include.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/content-formatting-examples/hextra/include.md b/content/content-formatting-examples/hextra/include.md index 06de77e1..41357279 100644 --- a/content/content-formatting-examples/hextra/include.md +++ b/content/content-formatting-examples/hextra/include.md @@ -9,7 +9,7 @@ draft: true Includes the rendered content of another page inline. This shortcode **must** use the percent-delimiter syntax. ```text -{{%/* hextra/include "examples/include-snippet" */%}} +{{%/* hextra/include "include-snippet" */%}} ``` **Parameters:** @@ -20,4 +20,4 @@ Includes the rendered content of another page inline. This shortcode **must** us **Example (included from a separate page):** -{{% hextra/include "examples/include-snippet" %}} +{{% hextra/include "include-snippet" %}} From 20b4bfd287288b87895abeffb6fcf30550afa350 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Thu, 2 Apr 2026 11:52:15 -0500 Subject: [PATCH 2/2] Add development page for Academy and includeable snippet example Signed-off-by: Lee Calcote --- content/_index.md | 29 +++++++++++++++---- .../include-snippet/index.md | 0 2 files changed, 24 insertions(+), 5 deletions(-) rename {static/examples => content}/include-snippet/index.md (100%) diff --git a/content/_index.md b/content/_index.md index 4740edc7..4df755ee 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,13 +1,32 @@ --- -title: Academy +title: Academy --- -{{% blocks/lead color="primary" %}} +- [Learning Paths](https://cloud.layer5.io/academy/learning-paths) +- [Challenges](https://cloud.layer5.io/academy/challenges) +- [Certifications](https://cloud.layer5.io/academy/certifications) -Welcome to the dev environment for your Academy +--- + +### Welcome to dev environment for your Academy + +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. + +#### What Your Academy Will Look Like + +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.) + +It provides structured, Markdown-authored curricula with hands-on practice and assessments. Content is organized hierarchically and supports rich media. + +#### Build Process + +Here's the simple workflow: +> 1. **Develop locally** - Make your changes and test them here + +> 2. **Merge when ready** - Your Academy stays private until you decide to publish -[Learning Paths](/academy/learning-paths/) +> 3. **Publish when ready** - Release it to your organization -{{% /blocks/lead %}} +**Need help?** [Documentation](https://github.com/layer5io/layer5-academy/blob/master/README.md) | [Contact Us](https://mesheryio.slack.com/ssb/redirect) \ No newline at end of file diff --git a/static/examples/include-snippet/index.md b/content/include-snippet/index.md similarity index 100% rename from static/examples/include-snippet/index.md rename to content/include-snippet/index.md