Skip to content

Commit

Permalink
Merge pull request #832 from jonasrosland/seo
Browse files Browse the repository at this point in the history
Add SEO functionality to the site
  • Loading branch information
johnSchnake committed Aug 12, 2019
2 parents 838ea5a + 01a2fcb commit 40a928c
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions site/Gemfile
@@ -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
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
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 title=false %}
</head>
2 changes: 1 addition & 1 deletion site/_includes/head.html
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
@@ -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
@@ -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
@@ -1,4 +1,6 @@
---
title: Sonobuoy Documentation
description: Sonobuoy Documentation / Sonobuoy Docs
redirect_to:
- LATEST
---
1 change: 1 addition & 0 deletions site/index.html
@@ -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
@@ -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 40a928c

Please sign in to comment.