Add base template and migrate index template

Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
lucperkins 2019-08-15 11:43:54 -07:00
parent 908e363ac5
commit c5abc53248
9 changed files with 193 additions and 185 deletions

View File

@ -12,9 +12,10 @@ plainIdAnchors = "true"
defaultContentLanguage = "en"
[params]
title = "Helm"
author = "Ronan Flynn-Curran"
description = "Helm - The Kubernetes Package Manager."
title = "Helm"
author = "Ronan Flynn-Curran"
description = "Helm - The Kubernetes Package Manager."
googleSiteVerification = "dCa3wS47cErhx0IpaxbB85NfcOP-vFxevknVk6fzf5I"
[Permalinks]
code = "/:filename/"

View File

@ -40,11 +40,7 @@ are bundled with it.
## Chart Version
Charts are versioned according to the [SemVer 2
<<<<<<< HEAD
spec](https://semver.org). A version number is required on every chart.
=======
spec](http://semver.org). A version number is required on every chart.
>>>>>>> upstream/dev-v3-docs
## Chart.yaml
@ -101,11 +97,7 @@ chart repository server or any other HTTP server.
## Release
<<<<<<< HEAD
When a chart is installed, Tiller (the Helm server) creates a _release_
=======
When a chart is installed, the Helm library creates a _release_
>>>>>>> upstream/dev-v3-docs
to track that installation.
A single chart may be installed many times into the same cluster, and
@ -141,19 +133,10 @@ rollback 1| release 4 (but running the same config as release 1)
The above table illustrates how release numbers increment across
install, upgrade, and rollback.
<<<<<<< HEAD
## Tiller
Tiller is the in-cluster component of Helm. It interacts directly with
the Kubernetes API server to install, upgrade, query, and remove
Kubernetes resources. It also stores the objects that represent
releases.
=======
## Helm Library
It interacts directly with the Kubernetes API server to install,
upgrade, query, and remove Kubernetes resources.
>>>>>>> upstream/dev-v3-docs
## Repository (Repo, Chart Repository)

View File

@ -61,4 +61,4 @@
</a>
</section>
{{ partial "footer-blog.html" . }}
{{ partial "footer-blog.html" . }}

View File

@ -1,188 +1,160 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ define "title" }}
Helm Docs | Helm
{{ end }}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ define "main" }}
<nav class="top-bar home-nav">
<h1>
<a href="{{ .Site.BaseURL }}" title="Helm.sh">
{{ partial "logo.html" . }}
</a>
</h1>
<ul class="inline right text-right">
{{ partial "nav.html" . }}
</ul>
</nav>
<title>Helm Docs | {{ .Title }}</title>
<section class="main-section">
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
<meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}">
<meta property="og:title" content="Helm - The Package Manager for Kubernetes." />
<meta property="og:url" content="{{ .Site.BaseURL }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}/src/img/favicon-152.png" />
<meta name="google-site-verification" content="dCa3wS47cErhx0IpaxbB85NfcOP-vFxevknVk6fzf5I" />
<div id="helm" class="home">
<link rel="icon" href="/src/img/favicon-152.png" type="image/x-icon">
<link rel="apple-touch-icon-precomposed" href="/src/img/apple-touch-icon-precomposed.png">
<link href="/src/css/styles.min.css" rel="stylesheet">
</head>
<section class="billboard">
<div class="container">
<h1>The package manager for Kubernetes</h1>
<h2>Helm is the best way to find, share, and use software built for <a href="https://kubernetes.io/" title="Kubernetes" target="_blank">Kubernetes</a>.</h2>
</div>
<div id="boat">
<img src="../src/img/boat.gif" alt="Helmy" />
</div>
</section>
<body id="landing" class="home">
<div class="container content">
<div class="row">
<div class="small-12 medium-6 columns">
<h2>What is Helm?</h2>
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<p>Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.</p>
<a class="left-off-canvas-toggle show-for-medium-down" href="#off-canvas-navigation">
<i class="fa fa-bars"></i>
</a>
{{ partial "offcanvas.html" . }}
<p>Charts are easy to create, version, share, and publish — so start using Helm and stop the copy-and-paste.</p>
<nav class="top-bar home-nav">
<h1>
<a href="{{ .Site.BaseURL }}" title="Helm.sh">
{{ partial "logo.html" . }}
</a>
</h1>
<ul class="inline right text-right">
{{ partial "nav.html" . }}
</ul>
</nav>
<p>The latest version of Helm is maintained by the <a href="https://www.cncf.io/">CNCF</a> - in collaboration with <a href="https://microsoft.com">Microsoft</a>, <a href="https://google.com">Google</a>, <a href="https://bitnami.com/">Bitnami</a> and the <a href="https://github.com/helm/community">Helm contributor community</a>.</p>
<section class="main-section">
<p class="github-stats">
<a class="github-button" href="https://github.com/helm/helm" data-size="large" data-show-count="true" aria-label="Star helm/helm on GitHub">Star</a>
&nbsp;
<a class="github-button" href="https://github.com/helm/helm/subscription" data-size="large" data-show-count="true" aria-label="Watch helm/helm on GitHub">Watch</a>
&nbsp;
<a class="github-button" href="https://github.com/helm/helm/fork" data-size="large" data-show-count="true" aria-label="Fork helm/helm on GitHub">Fork</a>
</p>
<div id="helm" class="home">
</div>
<section class="billboard">
<div class="container">
<h1>Helm 3: The package manager for Kubernetes</h1>
<h2>Helm is the best way to find, share, and use software built for <a href="https://kubernetes.io/" title="Kubernetes" target="_blank">Kubernetes</a>.</h2>
</div>
<div id="boat">
<img src="../src/img/boat.gif" alt="Helmy" />
</div>
</section>
<div class="hide-for-small-down medium-6 columns">
<img src="{{ .Site.BaseURL }}src/img/chart-illustration.png" alt="Helm Overview" class="helm-overview-img">
</div>
</div>
</div>
<div class="container content">
<div class="row">
<div class="small-12 medium-6 columns">
<h2>What is Helm?</h2>
<div class="container helm-features">
<div class="row ">
<div class="small-12 columns">
<h2>Why Teams <i class="fa fa-heart"></i> Helm</h2>
</div>
</div>
<p>Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.</p>
<div class="row">
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-1.png" alt="Manage Complexity">
<h3>Manage Complexity</h3>
<p>Charts describe even the most complex apps, provide repeatable application installation, and serve as a single point of authority.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-2.png" alt="Easy Updates">
<h3>Easy Updates</h3>
<p>Take the pain out of updates with in-place upgrades and custom hooks.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-3.png" alt="Easy Sharing">
<h3>Simple Sharing</h3>
<p>Charts are easy to version, share, and host on public or private servers.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-4.png" alt="Rollbacks">
<h3>Rollbacks</h3>
<p>Use <code>helm rollback</code> to roll back to an older version of a release with ease.</p>
</div>
</div>
</div>
<p>Charts are easy to create, version, share, and publish — so start using Helm and stop the copy-and-paste.</p>
<div class="container content">
<div class="row">
<p>The latest version of Helm is maintained by the <a href="https://www.cncf.io/">CNCF</a> - in collaboration with <a href="https://microsoft.com">Microsoft</a>, <a href="https://google.com">Google</a>, <a href="https://bitnami.com/">Bitnami</a> and the <a href="https://github.com/helm/community">Helm contributor community</a>.</p>
<div class="small-12 medium-12 large-7 get-helm columns">
<h2>Get Helm!</h2>
<p>The Helm project can be found <a href="https://github.com/helm/helm">here on Github</a>:</p>
<p class="github-stats">
<a class="github-button" href="https://github.com/helm/helm" data-size="large" data-show-count="true" aria-label="Star helm/helm on GitHub">Star</a>
&nbsp;
<a class="github-button" href="https://github.com/helm/helm/subscription" data-size="large" data-show-count="true" aria-label="Watch helm/helm on GitHub">Watch</a>
&nbsp;
<a class="github-button" href="https://github.com/helm/helm/fork" data-size="large" data-show-count="true" aria-label="Fork helm/helm on GitHub">Fork</a>
</p>
<p><a href="https://github.com/helm/helm"><img src="{{ .Site.BaseURL }}src/img/btn-get-helm.png" alt="Get Helm"></a></p>
</div>
<p>For documentation, see <a href="https://docs.helm.sh/">docs.helm.sh</a></p>
<div class="hide-for-small-down medium-6 columns">
<img src="{{ .Site.BaseURL }}src/img/chart-illustration.png" alt="Helm Overview" class="helm-overview-img">
</div>
</div>
</div>
<p>The previous version — <a href="https://github.com/deis/helm">Helm Classic</a> — can be found <a href="https://github.com/deis/helm">here</a>.</p>
</div>
<div class="container helm-features">
<div class="row ">
<div class="small-12 columns">
<h2>Why Teams <i class="fa fa-heart"></i> Helm</h2>
</div>
<div class="small-12 medium-12 large-5 get-charts columns">
<h2>Get Charts</h2>
<p>Looking for charts?</p>
<p><a href="https://hub.helm.sh"><img src="{{ .Site.BaseURL }}src/img/helm-charts.png" alt="Helm Hub"></a></p>
<p>Visit the <a href="https://hub.helm.sh">Helm Hub</a> to explore charts from numerous public Helm repositories.</p>
</div>
</div>
</div>
<div class="container content helm-community">
<div class="row">
<div class="small-12 medium-12 columns">
<h2 class="text-center">Join the Community</h2>
<p class="text-center">More information about the Helm project, and how to contribute.</p>
<div class="row">
<div class="small-12 medium-12 large-5 helm-community-links columns">
<ul>
<li><i class="fa fa-book"></i> <a href="https://docs.helm.sh/">Read the Docs</a></li>
<li><i class="fa fa-tags"></i> <a href="https://github.com/helm/helm/releases">Releases</a></li>
<li><i class="fa fa-github"></i> <a href="https://github.com/helm/helm">Helm on Github</a></li>
<li><i class="fa fa-comments"></i> <a href="http://slack.k8s.io/">Chat #helm-users on Slack</a></li>
</ul>
</div>
<div class="row">
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-1.png" alt="Manage Complexity">
<h3>Manage Complexity</h3>
<p>Charts describe even the most complex apps, provide repeatable application installation, and serve as a single point of authority.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-2.png" alt="Easy Updates">
<h3>Easy Updates</h3>
<p>Take the pain out of updates with in-place upgrades and custom hooks.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-3.png" alt="Easy Sharing">
<h3>Simple Sharing</h3>
<p>Charts are easy to version, share, and host on public or private servers.</p>
</div>
<div class="small-6 medium-6 large-3 columns">
<img src="{{ .Site.BaseURL }}src/img/feature-icon-4.png" alt="Rollbacks">
<h3>Rollbacks</h3>
<p>Use <code>helm rollback</code> to roll back to an older version of a release with ease.</p>
</div>
</div>
</div>
<div class="hide-for-medium-down medium-7 helm-community-blocks columns">
<section>
<h4>SIG-Apps</h4>
<p><a href="https://github.com/kubernetes/community/blob/master/sig-apps/README.md">SIG-Apps</a> is a Special Interest Group for deploying and operating apps in Kubernetes. They <a href="https://github.com/kubernetes/community/blob/master/sig-apps/README.md">meet each week</a> to demo and discuss tools and projects. Community meetings are recorded and <a href="https://www.youtube.com/results?search_query=kubernetes+sig+apps" target="_blank">shared to YouTube</a>.</p>
</section>
<div class="container content">
<div class="row">
<div class="small-12 medium-12 large-7 get-helm columns">
<h2>Get Helm!</h2>
<p>The Helm project can be found <a href="https://github.com/helm/helm">here on Github</a>:</p>
<p><a href="https://github.com/helm/helm"><img src="{{ .Site.BaseURL }}src/img/btn-get-helm.png" alt="Get Helm"></a></p>
<p>For documentation, see <a href="https://docs.helm.sh/">docs.helm.sh</a></p>
<p>The previous version — <a href="https://github.com/deis/helm">Helm Classic</a> — can be found <a href="https://github.com/deis/helm">here</a>.</p>
</div>
<div class="small-12 medium-12 large-5 get-charts columns">
<h2>Get Charts</h2>
<p>Looking for charts?</p>
<p><a href="https://hub.helm.sh"><img src="{{ .Site.BaseURL }}src/img/helm-charts.png" alt="Helm Hub"></a></p>
<p>Visit the <a href="https://hub.helm.sh">Helm Hub</a> to explore charts from numerous public Helm repositories.</p>
</div>
</div>
</div>
<div class="container content helm-community">
<div class="row">
<div class="small-12 medium-12 columns">
<h2 class="text-center">Join the Community</h2>
<p class="text-center">More information about the Helm project, and how to contribute.</p>
<div class="row">
<div class="small-12 medium-12 large-5 helm-community-links columns">
<ul>
<li><i class="fa fa-book"></i> <a href="https://docs.helm.sh/">Read the Docs</a></li>
<li><i class="fa fa-tags"></i> <a href="https://github.com/helm/helm/releases">Releases</a></li>
<li><i class="fa fa-github"></i> <a href="https://github.com/helm/helm">Helm on Github</a></li>
<li><i class="fa fa-comments"></i> <a href="http://slack.k8s.io/">Chat #helm-users on Slack</a></li>
</ul>
</div>
<div class="hide-for-medium-down medium-7 helm-community-blocks columns">
<section>
<h4>SIG-Apps</h4>
<p><a href="https://github.com/kubernetes/community/blob/master/sig-apps/README.md">SIG-Apps</a> is a Special Interest Group for deploying and operating apps in Kubernetes. They <a href="https://github.com/kubernetes/community/blob/master/sig-apps/README.md">meet each week</a> to demo and discuss tools and projects. Community meetings are recorded and <a href="https://www.youtube.com/results?search_query=kubernetes+sig+apps" target="_blank">shared to YouTube</a>.</p>
</section>
<section>
<h4>Developer Standups</h4>
<p>Each week, the Helm teams meet on <a href="https://zoom.us/j/696660622">Zoom</a>.</p>
<div class="right">
<a href="https://github.com/helm/community/blob/master/communication.md">
<i class="fa fa-calendar"></i>
<em>Thursdays</em>
<small>9:30-10am, PT</small>
</a>
</div>
</section>
</div>
<section>
<h4>Developer Standups</h4>
<p>Each week, the Helm teams meet on <a href="https://zoom.us/j/696660622">Zoom</a>.</p>
<div class="right">
<a href="https://github.com/helm/community/blob/master/communication.md">
<i class="fa fa-calendar"></i>
<em>Thursdays</em>
<small>9:30-10am, PT</small>
</a>
</div>
</div>
</section>
</div>
</div>
</div> <!-- / #helm -->
</section>
</div>
{{ partial "footer-blog.html" . }}
</div>
</div>
</div> <!-- / #helm -->
</section>
{{ end }}

View File

@ -51,4 +51,4 @@
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
</html>

View File

@ -1,6 +1,6 @@
[build]
base = ""
command = "gulp && hugo"
command = "hugo --minify"
publish = "app"
[context.production.environment]
@ -52,4 +52,4 @@
from = "https://v3.helm.sh/blog/*"
to = "https://helm.sh/blog/:splat"
status = 301
force = true
force = true

View File

@ -0,0 +1,29 @@
{{ $langCode := site.LanguageCode | default "en-us" }}
{{ $isHome := .IsHome }}
<!DOCTYPE html>
<html lang="{{ $langCode }}">
<head>
{{ partial "meta.html" . }}
<title>
{{ block "title" . }}{{ site.Title }}{{ end }}
</title>
{{ partial "css.html" . }}
</head>
<body id="landing"{{ if $isHome }} class="home"{{ end }}>
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<a class="left-off-canvas-toggle show-for-medium-down" href="#off-canvas-navigation">
<i class="fa fa-bars"></i>
</a>
{{ partial "offcanvas.html" . }}
{{ block "main" . }}
{{ end }}
{{ partial "footer-blog.html" . }}
</div>
</div>
</body>
</html>

View File

@ -0,0 +1 @@
<link href="/src/css/styles.min.css" rel="stylesheet">

View File

@ -0,0 +1,22 @@
{{ $isHome := .IsHome }}
{{ $desc := .Param "description" }}
{{ $title := .Title }}
{{ $url := .Permalink }}
{{ $img := "src/img/favicon-152.png" | absURL }}
{{ $icon := "src/img/apple-touch-icon-precomposed.png" | relURL }}
{{ $gsv := site.Params.googleSiteVerification }}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
{{ with $desc }}
<meta name="description" content="{{ . }}">
{{ end }}
<meta property="og:title" content="{{ $title }}">
<meta property="og:url" content="{{ $url }}">
<meta property="og:image" content="{{ $img }}">
<meta name="google-site-verification" content="{{ $gsv }}">
<link rel="icon" href="{{ $img }}" type="image/x-icon">
<link rel="apple-touch-icon-precomposed" href="{{ $icon }}">