Training page in the top nav (#19214)
* Create new page and add to top nav Signed-off-by: Celeste Horgan <celeste@cncf.io> * The basics Signed-off-by: Celeste Horgan <celeste@cncf.io> * A bit of inline css Signed-off-by: Celeste Horgan <celeste@cncf.io> * Fix CSS Signed-off-by: Celeste Horgan <celeste@cncf.io> * Fix link + Add to bottom row Signed-off-by: Celeste Horgan <celeste@cncf.io> * Address feedback in PR * Address feedback from elsewhere * Fix button alignment * Add training partners * Simplify css * Apply suggestions from review Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com> * Fix landscape + text block widths Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2f2c924292
commit
67c0fb987e
@@ -5,7 +5,7 @@
|
||||
|
||||
<div class="nav-buttons" data-auto-burger="primary">
|
||||
<ul class="global-nav">
|
||||
{{ $sections := slice "docs" "blog" "partners" "community" "case-studies" }}
|
||||
{{ $sections := slice "docs" "blog" "training" "partners" "community" "case-studies" }}
|
||||
{{ range $sections }}
|
||||
{{ with site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}"{{ if eq .Section $.Section }} class="active"{{ end}}>{{ .LinkTitle }}</a></li>{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user