Skip to content

Commit c62069c

Browse files
authored
Merge pull request #184 from CodexRaunak/add-home-page
Add home page in academy-theme
2 parents 44b2814 + 36e361e commit c62069c

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ resources/
2525
#hugo
2626
.hugo_build.lock
2727
content/*
28+
!content/_index.md
2829
!content/instructor-toolkit.md
2930

3031
.DS_Store

content/_index.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Academy
3+
---
4+
5+
<!-- this page is only used in local dev setup; it won't be used or rendered in production -->
6+
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)
10+
11+
---
12+
13+
## Welcome to dev environment for your Academy
14+
15+
This is just a development page that shows during the build process.
16+
17+
### Build Process
18+
19+
Here's the simple workflow:
20+
> 1. **Develop locally** - Make your changes and test them here
21+
22+
> 2. **Merge when ready** - Your Academy stays private until you decide to publish
23+
24+
> 3. **Publish when ready** - Release it to your organization
25+
26+
## Best practices
27+
28+
Before publishing or updating Academy content, validate your IDs in the [Academy Instructor Console](https://cloud.meshery.io/academy/instructors-console).
29+
30+
- Create content using the "Create New Content" tool to generate IDs
31+
- Add the Content ID to the `id:` field in front matter
32+
- Use the Organization ID only in folder structure (keep it separate from Content ID)
33+
- Avoid changing identifiers after publishing, as it can break learner progress tracking
34+
35+
**Need help?** [Academy documentation](https://docs.layer5.io/cloud/academy/) | [Contact Us](https://slack.meshery.io)

layouts/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{ define "main" }}
2+
<div class="td-content">
3+
<h1>{{ .Title }}</h1>
4+
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
5+
{{ .Content }}
6+
</div>
7+
{{ end -}}

0 commit comments

Comments
 (0)