From fa16c879e16646d389032c839a404435e77c0038 Mon Sep 17 00:00:00 2001 From: Raunak Madan Date: Sat, 18 Apr 2026 22:56:37 +0530 Subject: [PATCH 1/2] Add home page in academy-them Signed-off-by: Raunak Madan --- .gitignore | 3 ++- content/_index.md | 35 +++++++++++++++++++++++++++++++++++ layouts/index.html | 7 +++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 content/_index.md create mode 100644 layouts/index.html diff --git a/.gitignore b/.gitignore index 7f2818e..75fac22 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ resources/ #hugo .hugo_build.lock -content/ +content/* +!content/_index.md .DS_Store diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..3dd4df8 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,35 @@ +--- +title: Academy +--- + + + +- [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 dev environment for your Academy + +This is just a development page that shows during the build process. + +#### 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 + +> 3. **Publish when ready** - Release it to your organization + +## Best practices + +Before publishing or updating Academy content, validate your IDs in the [Academy Instructor Console](https://cloud.meshery.io/academy/instructors-console). + +- Create content using the "Create New Content" tool to generate IDs +- Add the Content ID to the `id:` field in front matter +- Use the Organization ID only in folder structure (keep it separate from Content ID) +- Avoid changing identifiers after publishing, as it can break learner progress tracking + +**Need help?** [Academy documentation](https://docs.layer5.io/cloud/academy/) | [Contact Us](https://mesheryio.slack.com/ssb/redirect) diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..fe18256 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,7 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} + {{ .Content }} +
+{{ end -}} From cc923572b6a80fc9132e1be3136851b4d211d4c1 Mon Sep 17 00:00:00 2001 From: Raunak Madan <143412156+CodexRaunak@users.noreply.github.com> Date: Sun, 19 Apr 2026 02:07:32 +0530 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Raunak Madan <143412156+CodexRaunak@users.noreply.github.com> --- content/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/_index.md b/content/_index.md index 3dd4df8..06f9b41 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,7 +2,7 @@ title: Academy --- - + - [Learning Paths](https://cloud.layer5.io/academy/learning-paths) - [Challenges](https://cloud.layer5.io/academy/challenges) @@ -10,11 +10,11 @@ title: Academy --- -### Welcome to dev environment for your Academy +## Welcome to dev environment for your Academy This is just a development page that shows during the build process. -#### Build Process +### Build Process Here's the simple workflow: > 1. **Develop locally** - Make your changes and test them here @@ -32,4 +32,4 @@ Before publishing or updating Academy content, validate your IDs in the [Academy - Use the Organization ID only in folder structure (keep it separate from Content ID) - Avoid changing identifiers after publishing, as it can break learner progress tracking -**Need help?** [Academy documentation](https://docs.layer5.io/cloud/academy/) | [Contact Us](https://mesheryio.slack.com/ssb/redirect) +**Need help?** [Academy documentation](https://docs.layer5.io/cloud/academy/) | [Contact Us](https://slack.meshery.io)