Skip to content

Commit 08e19af

Browse files
committed
Updated seo-tag settings.
Although `tagline` hasn't been released yet.
1 parent 37dc9d4 commit 08e19af

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

Diff for: Gemfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
source 'https://rubygems.org'
1+
source "https://rubygems.org"
22

3-
gem 'jekyll', '>=3.8.6'
3+
gem "jekyll", ">=3.8.6"
44

55
# Official Plugins
66
group :jekyll_plugins do
7-
gem 'jekyll-paginate'
8-
gem 'jekyll-redirect-from'
9-
gem 'jekyll-seo-tag'
7+
gem "jekyll-paginate"
8+
gem "jekyll-redirect-from"
9+
gem "jekyll-seo-tag", "~> 2.6.1"
1010
end
1111

1212
group :test do
13-
gem 'html-proofer'
13+
gem "html-proofer"
1414
end
1515

1616
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
17-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
17+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Diff for: _config.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
88
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
99
#--------------------------
1010

11-
title: Chirpy
11+
title: Chirpy # the main title
1212

13-
description: 'A text-focused Jekyll theme.'
13+
tagline: A text-focused Jekyll theme. # it will display as the sub-title
14+
15+
description: >- # used by seo meta and the atom feed
16+
A minimal, portfolio, sidebar, bootstrap Jekyll theme with responsive web design and focuses on text presentation.
1417
1518
# Replace with your domain, e.g. 'https://username.github.io'
16-
url: 'https://www.example.com'
19+
url: 'protocol://domain'
1720

1821
author: your_full_name # change to your full name
1922

20-
avatar: /assets/img/sample/avatar.jpg # Support network resources.
23+
avatar: /assets/img/sample/avatar.jpg # support internet resources
2124

2225
github:
2326
username: github_username # change to your github username

Diff for: _includes/head.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
-->
88

99
<head>
10+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
11+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12+
1013
<title>
1114
{%- if page.layout == "home" -%}
1215
{{- site.title -}}
1316
{%- else -%}
1417
{{ page.title }} | {{ site.title }}
1518
{%- endif -%}
1619
</title>
17-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
18-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1920

2021
{% seo title=false %}
2122

Diff for: _includes/sidebar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div id="site-title">
2424
<a href="{{ site.baseurl }}/">{{- site.title -}}</a>
2525
</div>
26-
<div id="site-subtitle" class="font-italic">{{ site.description }}</div>
26+
<div id="site-subtitle" class="font-italic">{{- site.tagline -}}</div>
2727
</div>
2828
</div>
2929

Diff for: index.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: home
3-
title: Home
43
breadcrumb:
54
-
65
label: Posts

0 commit comments

Comments
 (0)