moved page title conditional into head-header.html
added switch to setFooterType() Introducing: community.html
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<a href="/docs/hellonode/">Get Started</a>
|
<a href="/docs/hellonode/">Get Started</a>
|
||||||
<a href="/docs/">Documentation</a>
|
<a href="/docs/">Documentation</a>
|
||||||
<a href="http://blog.kubernetes.io/">Blog</a>
|
<a href="http://blog.kubernetes.io/">Blog</a>
|
||||||
<a href="/community.html">Community</a>
|
<a href="/community/">Community</a>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<a href="https://twitter.com/kubernetesio" class="twitter"><span>twitter</span></a>
|
<a href="https://twitter.com/kubernetesio" class="twitter"><span>twitter</span></a>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{% if page.title %}{% assign title=page.title %}{% endif %}
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@@ -7,14 +8,14 @@
|
|||||||
<link rel="stylesheet" href="/css/styles.css"/>
|
<link rel="stylesheet" href="/css/styles.css"/>
|
||||||
<script src="/js/jquery-2.2.0.min.js"></script>
|
<script src="/js/jquery-2.2.0.min.js"></script>
|
||||||
<script src="/js/script.js"></script>
|
<script src="/js/script.js"></script>
|
||||||
<title>Kubernetes - {{ page.title }}</title>
|
<title>Kubernetes - {{ title }}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="cellophane" onclick="kub.toggleMenu()"></div>
|
<div id="cellophane" onclick="kub.toggleMenu()"></div>
|
||||||
<header>
|
<header>
|
||||||
<a href="/" class="logo"></a>
|
<a href="/" class="logo"></a>
|
||||||
<div class="nav-buttons" data-auto-burger="primary">
|
<div class="nav-buttons" data-auto-burger="primary">
|
||||||
<a href="docs" class="button" id="viewDocs">View Documentation</a>
|
<a href="/docs/" class="button" id="viewDocs">View Documentation</a>
|
||||||
<a href="/docs/hellonode/" class="button" id="tryKubernetes">Try Kubernetes</a>
|
<a href="/docs/hellonode/" class="button" id="tryKubernetes">Try Kubernetes</a>
|
||||||
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
|
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
|
||||||
</div>
|
</div>
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
<p>Pellentesque in ipsum id orci porta dapibus. Nulla porttitor accumsan tincidunt. </p>
|
<p>Pellentesque in ipsum id orci porta dapibus. Nulla porttitor accumsan tincidunt. </p>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-box">
|
<div class="nav-box">
|
||||||
<h3><a href="/community.html">Community</a></h3>
|
<h3><a href="/community/">Community</a></h3>
|
||||||
<p>Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. </p>
|
<p>Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. </p>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-box">
|
<div class="nav-box">
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% for thistoc in site.data.globals.tocs %}{% if foundTOC %}{% break %}{% else %}{% assign tree = site.data[thistoc].toc %}{% include tocsearch.html %}{% endif %}{% endfor %}
|
{% for thistoc in site.data.globals.tocs %}{% if foundTOC %}{% break %}{% else %}{% assign tree = site.data[thistoc].toc %}{% include tocsearch.html %}{% endif %}{% endfor %}
|
||||||
{% if page.title %}{% assign title=page.title %}{% endif %}
|
|
||||||
<!Doctype html>
|
<!Doctype html>
|
||||||
<html id="docs">
|
<html id="docs">
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -255,7 +255,7 @@ header
|
|||||||
text-align: center
|
text-align: center
|
||||||
padding-left: 0
|
padding-left: 0
|
||||||
padding-right: 0
|
padding-right: 0
|
||||||
margin-bottom: 60px
|
margin-bottom: 30px
|
||||||
|
|
||||||
// VENDOR STRIP
|
// VENDOR STRIP
|
||||||
#vendorStrip
|
#vendorStrip
|
||||||
|
|||||||
@@ -49,3 +49,16 @@ $video-section-height: 550px
|
|||||||
div:nth-child(3), div:nth-child(4)
|
div:nth-child(3), div:nth-child(4)
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#community
|
||||||
|
#hero
|
||||||
|
text-align: left
|
||||||
|
|
||||||
|
h1
|
||||||
|
padding: 20px
|
||||||
|
|
||||||
|
#tryKubernetes
|
||||||
|
width: auto
|
||||||
|
background-color: $blue
|
||||||
|
padding: 0 20px
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: Community
|
||||||
|
---
|
||||||
|
|
||||||
|
<!Doctype html>
|
||||||
|
<html id="community">
|
||||||
|
{% include head-header.html %}
|
||||||
|
|
||||||
|
<section id="hero" class="light-text">
|
||||||
|
<h1>Community</h1>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section id="mainContent">
|
||||||
|
<main>
|
||||||
|
|
||||||
|
<!-- TODO: this is MULHAUSEN LAND -->
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{% include footer.html %}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+12
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user