Updated seo-tag settings.
Although `tagline` hasn't been released yet.
This commit is contained in:
parent
53e01c1778
commit
6cef0829a8
5 changed files with 18 additions and 15 deletions
14
Gemfile
14
Gemfile
|
@ -1,17 +1,17 @@
|
||||||
source 'https://rubygems.org'
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem 'jekyll', '>=3.8.6'
|
gem "jekyll", ">=3.8.6"
|
||||||
|
|
||||||
# Official Plugins
|
# Official Plugins
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
gem 'jekyll-paginate'
|
gem "jekyll-paginate"
|
||||||
gem 'jekyll-redirect-from'
|
gem "jekyll-redirect-from"
|
||||||
gem 'jekyll-seo-tag'
|
gem "jekyll-seo-tag", "~> 2.6.1"
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem 'html-proofer'
|
gem "html-proofer"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||||
|
|
11
_config.yml
11
_config.yml
|
@ -8,16 +8,19 @@
|
||||||
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
|
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
|
||||||
#--------------------------
|
#--------------------------
|
||||||
|
|
||||||
title: Chirpy
|
title: Chirpy # the main title
|
||||||
|
|
||||||
description: 'A text-focused Jekyll theme.'
|
tagline: A text-focused Jekyll theme. # it will display as the sub-title
|
||||||
|
|
||||||
|
description: >- # used by seo meta and the atom feed
|
||||||
|
A minimal, portfolio, sidebar, bootstrap Jekyll theme with responsive web design and focuses on text presentation.
|
||||||
|
|
||||||
# Replace with your domain, e.g. 'https://username.github.io'
|
# Replace with your domain, e.g. 'https://username.github.io'
|
||||||
url: 'https://www.example.com'
|
url: 'protocol://domain'
|
||||||
|
|
||||||
author: your_full_name # change to your full name
|
author: your_full_name # change to your full name
|
||||||
|
|
||||||
avatar: /assets/img/sample/avatar.jpg # Support network resources.
|
avatar: /assets/img/sample/avatar.jpg # support internet resources
|
||||||
|
|
||||||
github:
|
github:
|
||||||
username: github_username # change to your github username
|
username: github_username # change to your github username
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{%- if page.layout == "home" -%}
|
{%- if page.layout == "home" -%}
|
||||||
{{- site.title -}}
|
{{- site.title -}}
|
||||||
|
@ -14,8 +17,6 @@
|
||||||
{{ page.title }} | {{ site.title }}
|
{{ page.title }} | {{ site.title }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</title>
|
</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
|
|
||||||
{% seo title=false %}
|
{% seo title=false %}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<div id="site-title">
|
<div id="site-title">
|
||||||
<a href="{{ site.baseurl }}/">{{- site.title -}}</a>
|
<a href="{{ site.baseurl }}/">{{- site.title -}}</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="site-subtitle" class="font-italic">{{ site.description }}</div>
|
<div id="site-subtitle" class="font-italic">{{- site.tagline -}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: home
|
layout: home
|
||||||
title: Home
|
|
||||||
breadcrumb:
|
breadcrumb:
|
||||||
-
|
-
|
||||||
label: Posts
|
label: Posts
|
||||||
|
|
Loading…
Reference in a new issue