20a0cb88d6
Checks an additional variable named versionedurl for the version name, and uses the value as the url to reference. If the versionedurl doesn't contain an entry for the version the current path is used. e.g. versionedurl: v1.8: /docs/home v1.7: /docs/old-path-to-doc
74 lines
3.9 KiB
HTML
74 lines
3.9 KiB
HTML
<div id="cellophane" onclick="kub.toggleMenu()"></div>
|
|
|
|
<header>
|
|
<a href="/" class="logo"></a>
|
|
|
|
<div class="nav-buttons" data-auto-burger="primary">
|
|
<ul class="global-nav">
|
|
<li><a href="/docs/home/">Documentation</a></li>
|
|
<li><a href="http://blog.kubernetes.io/">Blog</a></li>
|
|
<li><a href="/partners/">Partners</a></li>
|
|
<li><a href="/community/">Community</a></li>
|
|
<li><a href="/case-studies/">Case Studies</a></li>
|
|
<li>
|
|
<a href="#">
|
|
{{page.version}} <span class="ui-icon ui-icon-carat-1-s"></span>
|
|
</a>
|
|
<ul>
|
|
{% for version in page.versions %}
|
|
{% if page.versionedurl contains version.version %}
|
|
<li><a href="{{ version.url }}{{ page.versionedurl[version.version] }}">{{ version.version }}</a></li>
|
|
{% else %}
|
|
<li><a href="{{ version.url }}{{ page.url }}">{{ version.version }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
<!-- <a href="/docs/home" class="button" id="viewDocs" data-auto-burger-exclude>View Documentation</a> -->
|
|
<a href="/docs/tutorials/kubernetes-basics/" class="button" id="tryKubernetes" data-auto-burger-exclude>Try Kubernetes</a>
|
|
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
|
|
</div>
|
|
|
|
<nav id="mainNav">
|
|
<main data-auto-burger="primary">
|
|
<div class="nav-box">
|
|
<h3><a href="/docs/tutorials/stateless-application/hello-minikube/">Get Started</a></h3>
|
|
<p>Ready to get your hands dirty? Build a simple Kubernetes cluster that runs "Hello World" for Node.js.</p>
|
|
</div>
|
|
<div class="nav-box">
|
|
<h3><a href="/docs/home/">Documentation</a></h3>
|
|
<p>Learn how to use Kubernetes with the use of walkthroughs, samples, and reference documentation. You can even <a href="/editdocs/" data-auto-burger-exclude>help contribute to the docs</a>!</p>
|
|
</div>
|
|
<div class="nav-box">
|
|
<h3><a href="/community/">Community</a></h3>
|
|
<p>If you need help, you can connect with other Kubernetes users and the Kubernetes authors, attend community events, and watch video presentations from around the web.</p>
|
|
</div>
|
|
<div class="nav-box">
|
|
<h3><a href="http://blog.kubernetes.io">Blog</a></h3>
|
|
<p>Read the latest news for Kubernetes and the containers space in general, and get technical how-tos hot off the presses.</p>
|
|
</div>
|
|
</main>
|
|
<main data-auto-burger="primary">
|
|
<div class="left">
|
|
<h5 class="github-invite">Interested in hacking on the core Kubernetes code base?</h5>
|
|
<a href="https://github.com/kubernetes/kubernetes" class="button" data-auto-burger-exclude>View On Github</a>
|
|
</div>
|
|
|
|
<div class="right">
|
|
<h5 class="github-invite">Explore the community</h5>
|
|
<div class="social">
|
|
<a href="https://twitter.com/kubernetesio" class="twitter"><span>Twitter</span></a>
|
|
<a href="https://github.com/kubernetes/kubernetes" class="github"><span>Github</span></a>
|
|
<a href="http://slack.k8s.io/" class="slack"><span>Slack</span></a>
|
|
<a href="http://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>Stack Overflow</span></a>
|
|
<a href="https://groups.google.com/forum/#!forum/kubernetes-users" class="mailing-list"><span>Mailing List</span></a>
|
|
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>Events Calendar</span></a>
|
|
</div>
|
|
</div>
|
|
<div class="clear" style="clear: both"></div>
|
|
</main>
|
|
</nav>
|
|
</header>
|