Skip to content

Commit

Permalink
use Jekyll SEO Tag to generate page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Aug 14, 2017
1 parent a816fbf commit 497cce6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: Dinky theme
description: Dinky is a red hot theme for GitHub Pages.
show_downloads: true
google_analytics:
theme:
theme: jekyll-theme-dinky
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>

{% seo %}
<link href='https://fonts.googleapis.com/css?family=Arvo:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
Expand Down
3 changes: 2 additions & 1 deletion jekyll-theme-dinky.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Gem::Specification.new do |s|
end

s.platform = Gem::Platform::RUBY
s.add_runtime_dependency "jekyll", "~> 3.3"
s.add_runtime_dependency "jekyll", "~> 3.5"
s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
end

0 comments on commit 497cce6

Please sign in to comment.