mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-14 00:53:22 +00:00
Merge pull request #1268 from vincent99/master
Training link on 2.0 docs homepage
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
shortTitle: Rancher 2.x
|
||||
insertOneSix: true
|
||||
weight: 1
|
||||
ctaBanner: intro-k8s-rancher-online-training
|
||||
---
|
||||
|
||||
## What's New?
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
header = "Get free weekly training on Kubernetes and Rancher"
|
||||
copy = ""
|
||||
button = "Join here"
|
||||
link = "https://info.rancher.com/rancher-kubernetes-online-training"
|
||||
|
||||
|
||||
form-id = ""
|
||||
@@ -21,11 +21,19 @@
|
||||
<hr/>
|
||||
{{end}}
|
||||
|
||||
{{ if .Params.ctaBanner }}
|
||||
{{ with index .Site.Data.cta .Params.ctaBanner }}
|
||||
<div class="row center-xs middle-xs bg-info shadow rounded-corners">
|
||||
<h3 class="m-v-sm m-r-sm text-white">{{ .header }}</h3>
|
||||
<a href="{{ .link }}" target="_blank" class="btn border-btn">{{ .button }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<div class="main-content docs-body">
|
||||
<!-- this is a test -->
|
||||
<!-- {{ partial "page-nav.html" . }} -->
|
||||
<!-- end test -->
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ $paginator := .Scratch.Get "paginator" }}
|
||||
|
||||
Reference in New Issue
Block a user