Skip to content

Commit

Permalink
Merge pull request eleven-labs#15 from eleven-labs/feat/better-seo
Browse files Browse the repository at this point in the history
feat: better seo
  • Loading branch information
VEBERArnaud committed Apr 2, 2017
2 parents 97ed3b7 + 4c46f1b commit ab41a7d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions Gemfile
@@ -1,6 +1,7 @@
source "https://rubygems.org"
gem 'jekyll', '3.4.3'
gem 'jekyll-paginate', '1.1.0'
gem 'jekyll-seo-tag', '2.1.0'
gem 'rouge', '1.11.1'

group :test do
Expand Down
17 changes: 16 additions & 1 deletion _config.yml
@@ -1,6 +1,20 @@
# SITE CONFIGURATION
baseurl:
title: Blog Eleven Labs
description: Blog Eleven Labs
url: https://eleven-labs.github.io
twitter:
username: eleven-labs
logo: /img/avatar.png
social:
name: Eleven Labs
links:
- https://twitter.com/eleven-labs
- https://www.facebook.com/11Labs
- https://www.linkedin.com/company/eleven-labs
- https://www.youtube.com/channel/UCt_NukjmUm4whjmbMuZ0MMw
- https://github.com/eleven-labs
- https://stackoverflow.com/jobs/companies/eleven-labs
baseurl:

# THEME-SPECIFIC CONFIGURATION
theme_settings:
Expand Down Expand Up @@ -72,3 +86,4 @@ sass:
style: :compressed
gems:
- jekyll-paginate
- jekyll-seo-tag
10 changes: 4 additions & 6 deletions _includes/head.html
@@ -1,7 +1,8 @@
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme_settings.description }}{% endif %}">

{% seo %}

<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- CSS -->
Expand All @@ -10,11 +11,8 @@
<!--Favicon-->
<link rel="shortcut icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}" type="image/x-icon">

<!-- Canonical -->
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">

<!-- RSS -->
<link rel="alternate" type="application/atom+xml" title="{{ site.theme_settings.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />

<!-- Font Awesome -->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
Expand Down

0 comments on commit ab41a7d

Please sign in to comment.