Add SEO functionality to the site (#1753)

* Add SEO functionality to the site

Signed-off-by: Jonas Rosland <jrosland@vmware.com>

* Add some more SEO

Signed-off-by: Jonas Rosland <jrosland@vmware.com>
This commit is contained in:
Jonas Rosland
2019-08-12 09:11:42 -07:00
committed by Steve Kriss
parent 7b7b96de74
commit e576f23c70
10 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages'
gem 'redcarpet'
gem 'jekyll-seo-tag'

View File

@@ -2,9 +2,12 @@
title: Velero
email:
author: Velero Authors
description:
url:
description: Backup and migrate Kubernetes resources and persistent volumes
url: velero.io
logo: Velero.svg
twitter:
username: projectvelero
card: summary
vm_logo: vm-logo.png
gh_repo: https://github.com/heptio/velero
markdown: redcarpet
@@ -14,7 +17,7 @@ footer:
title: Getting Started
content: To help you get started, see the documentation.
cta_title: ''
cta_url: /docs/master
cta_url: /docs
cta_text: Documentation
vm-link: http://vmware.github.io/
@@ -175,6 +178,7 @@ plugins:
- jekyll-titles-from-headings # pull the page title from the first Markdown heading when none is specified.
- jekyll-paginate # pagination object for collections (e.g. posts)
- jekyll-redirect-from
- jekyll-seo-tag
# Include these subdirectories
include:

View File

@@ -5,5 +5,5 @@
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/css/styles.css?{{site.time | date: '%s%N'}}">
{% seo %}
</head>

View File

@@ -5,6 +5,6 @@
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/css/styles.css?{{site.time | date: '%s%N'}}">
<title>{{ site.title }} {{page.title}}</title>
{% seo %}
</head>

View File

@@ -1,6 +1,7 @@
---
layout: default
title: Blog
description: Velero Blog
id: blog
---
<div class="post-single-hero bg-color-{{ site.hero.background-color }}">

View File

@@ -1,6 +1,7 @@
---
layout: page
title: Community
description: Velero Community
id: community
---
## Do you want to help build Velero?

View File

@@ -1,4 +1,6 @@
---
title: Velero Documentation
description: Velero Documentation / Velero Docs
redirect_to:
- LATEST
---

View File

@@ -1,6 +1,7 @@
---
layout: default
id: home
description: Backup and migrate Kubernetes resources and persistent volumes
backgrounds:
case_study: light-blue
team: dark-blue

View File

@@ -1,6 +1,7 @@
---
layout: page
title: Resources
description: Velero Resources
id: resources
---
Here you will find external resources about Velero, such as videos, podcasts, and community articles.

View File

@@ -1,5 +1,6 @@
---
layout: page
title: Survey
description: Velero Survey
redirect_to: https://buff.ly/2YYnEQX
---