website/_layouts/docwithnav.html

42 lines
1.9 KiB
HTML
Raw Normal View History

2016-02-09 02:28:54 +00:00
---
layout: headerfooter
---
<!-- HERO -->
{% for thistoc in site.data[page.versionfilesafe].globals.tocs %}{% if foundTOC %}{% break %}{% else %}{% assign tree = site.data[page.versionfilesafe][thistoc].toc %}{% include tocsearch.html %}{% endif %}{% endfor %}
{% if page.title %}{% assign title=page.title %}{% endif %}
2016-02-16 21:27:05 +00:00
{% for override in site.data.overrides.overrides %}
<script>console.log('thispage.path={{ override.path }}, page.path={{ page.path }}')</script>
{% if page.path == override.path %}{% assign hideTitle="true" %}{% endif %}
{% endfor %}
2016-02-09 02:28:54 +00:00
<section id="hero" class="light-text">
<h1>{{ site.data[page.versionfilesafe][foundTOC].bigheader }}</h1>
<h5>{{ site.data[page.versionfilesafe][foundTOC].abstract }}</h5>
2016-02-09 02:28:54 +00:00
<div id="vendorStrip" class="light-text">
<ul>
<li><a href="/{{ page.version }}/">GUIDES</a></li>
2016-02-10 03:52:22 +00:00
<li><a href="/{{ page.version }}/reference">REFERENCE</a></li>
<li><a href="/{{ page.version }}/samples">SAMPLES</a></li>
2016-02-24 02:12:17 +00:00
<li><a href="/{{ page.version }}/docs/troubleshooting/">SUPPORT</a></li>
2016-02-09 02:28:54 +00:00
</ul>
2016-02-09 20:18:14 +00:00
<div class="dropdown">
<div class="readout"></div>
2016-02-10 03:52:22 +00:00
<a href="/v1.1">Version 1.1</a>
<a href="/v1.0">Version 1.0</a>
2016-02-09 20:18:14 +00:00
</div>
2016-02-24 07:21:23 +00:00
<input type="text" id="search" placeholder="Search" onkeydown="if (event.keyCode==13) window.location.replace('/search/?q=' + this.value)">
2016-02-09 02:28:54 +00:00
</div>
</section>
2016-02-24 07:21:23 +00:00
<section id="encyclopedia">{% if page.hideTOC != true %}
2016-02-09 02:28:54 +00:00
<div id="docsToc">
2016-02-09 21:23:33 +00:00
<div class="pi-accordion">
{% assign tree = site.data[page.versionfilesafe][foundTOC].toc %}{% include tree.html %}
2016-02-09 21:23:33 +00:00
</div> <!-- /pi-accordion -->
2016-02-24 07:21:23 +00:00
</div> <!-- /docsToc -->{% endif %}
2016-02-15 21:00:37 +00:00
<div id="docsContent">{% if page.showedit == true %}<a href="/{{ page.version }}/editdocs#{{ page.path }}" id="editPageButton">Edit This Page</a>{% endif %}
<h1>{{ title }}</h1>
2016-02-09 02:28:54 +00:00
{{ content }}
<p><a href=""><img src="https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt="Analytics" /></a>
2016-02-09 02:28:54 +00:00
</div>
2016-02-09 17:29:27 +00:00
</section>