Merge pull request #1268 from vincent99/master

Training link on 2.0 docs homepage
This commit is contained in:
Vincent Fiduccia
2019-03-19 16:52:39 -07:00
committed by GitHub
3 changed files with 17 additions and 1 deletions
+1
View File
@@ -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 = ""
+9 -1
View File
@@ -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" }}