Skip to content

Commit

Permalink
Add SEO functionality to the site
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Rosland <[email protected]>
  • Loading branch information
jonasrosland committed Aug 11, 2019
1 parent 838ea5a commit 4cda024
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions site/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages'
gem 'redcarpet'
gem 'jekyll-seo-tag'
9 changes: 6 additions & 3 deletions site/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
title: Sonobuoy
email:
author: Sonobuoy Authors
description:
url:
description: Validate your Kubernetes configuration
url: sonobuoy.io
logo: Sonobuoy.svg
twitter:
username: projectsonobuoy
card: summary
vm_logo: vm-logo.png
gh_repo: https://github.com/heptio/sonobuoy
markdown: redcarpet
Expand Down Expand Up @@ -130,7 +133,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:
Expand Down
2 changes: 1 addition & 1 deletion site/_includes/head-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion site/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 1 addition & 0 deletions site/blog.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
title: Blog
description: Sonobuoy Blog
id: blog
---
<div class="post-single-hero bg-color-{{ site.hero.background-color }}">
Expand Down
1 change: 1 addition & 0 deletions site/community.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: page
title: Community
description: Sonobuoy Community
id: community
---
Do you want to help build Sonobuoy?
Expand Down
2 changes: 2 additions & 0 deletions site/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
title: Sonobuoy Documentation
description: Sonobuoy Documentation / Sonobuoy Docs
redirect_to:
- LATEST
---
1 change: 1 addition & 0 deletions site/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
id: home
description: Validate your Kubernetes configuration
backgrounds:
case_study: green
team: dark-blue
Expand Down
1 change: 1 addition & 0 deletions site/resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: page
title: Resources
description: Sonobuoy Resources
id: resources
---
Here you will find external resources about Sonobuoy, such as videos, podcasts, and community articles.
Expand Down

0 comments on commit 4cda024

Please sign in to comment.