This commit is contained in:
johndmulhausen 2016-02-13 13:17:35 -08:00
parent 2726e11d30
commit 42c2226bef
5 changed files with 35 additions and 7 deletions

View File

@ -12,16 +12,12 @@ safe: false
lsi: false
defaults:
-
scope:
path: ""
values:
layout: "docwithnav"
-
scope:
path: "v1.1"
values:
version: "v1.1"
versionfilesafe: "v1_1"
layout: docwithnav
showedit: true
permalink: pretty

24
_layouts/marketing.html Normal file
View File

@ -0,0 +1,24 @@
---
layout: headerfooter
---
<!-- HERO -->
<section id="hero" class="light-text">
<h1>Marketing Header</h1>
<h5>Marketing abstract</h5>
<div id="vendorStrip" class="light-text">
CASE STUDY BAR
</div>
</section>
<section id="encyclopedia">
<div id="docsToc">
<div class="pi-accordion">
DELETE ME TOC
</div> <!-- /pi-accordion -->
</div> <!-- /docsToc -->
<div id="docsContent">
<h1>{{ page.title }}</h1>
{{ content }}
<p><a href=""><img src="https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt="Analytics" /></a>
</div>
</section>

View File

@ -1,6 +1,7 @@
---
title: Index test
abstract: Cool content goes here
layout: marketing
---
{% raw %}<a href="/v1.1" class="button">View the Docs</a>{% endraw %}
<a href="/v1.1" class="button">View the Docs</a>

7
update-imported-docs.sh Normal file
View File

@ -0,0 +1,7 @@
git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
git checkout gh-pages
cd ..
rm -rf v1.1/examples
mv kubernetes/_v1.1/examples v1.1/
rm -rf kubernetes

View File

@ -2,4 +2,4 @@
title: "Documentation"
---
Test documentation here.
Landing page for docs