use Jekyll SEO Tag to generate page titles

pull/15/head
Ben Balter 5 years ago
parent 920b0c460f
commit 6a27e6cec2
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
  1. 2
      _config.yml
  2. 3
      _layouts/default.html
  3. 3
      jekyll-theme-hacker.gemspec

@ -2,4 +2,4 @@ title: Hacker theme
description: Hacker is a theme for GitHub Pages.
show_downloads: true
google_analytics:
theme:
theme: jekyll-theme-hacker

@ -5,7 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>
{% seo %}
</head>
<body>

@ -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

Loading…
Cancel
Save