Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit e639ec9

Browse files
committed
Data for SEO for easier sharing and being searched
1 parent 4cfeefc commit e639ec9

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ source "https://rubygems.org"
1212
# If you have any plugins, put them here!
1313
group :jekyll_plugins do
1414
gem "github-pages"
15+
gem 'jekyll-seo-tag'
1516
end
1617

1718
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ DEPENDENCIES
261261
dotenv
262262
github-pages
263263
html-proofer
264+
jekyll-seo-tag
264265
tzinfo-data
265266

266267
BUNDLED WITH

_config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ links:
5858
# Link to the Amazon store.
5959
amazon: https://www.amazon.com/shop/thecodingtrain
6060

61+
# SEO data for twitter
62+
twitter:
63+
username: thecodingtrain
64+
6165
# --- Build Settings ---
6266

6367
# Use Kramdown as the preferred Markdown parser.
@@ -91,6 +95,7 @@ sass: { sass_dir: "assets/css" }
9195
# Use jekyll-redirect-from to allow redirections
9296
plugins:
9397
- jekyll-redirect-from
98+
- jekyll-seo-tag
9499

95100
# --- Jekyll Locations ---
96101
layouts_dir: _jekyll/layouts

_jekyll/includes/2-base/head.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,9 @@
5555
<link rel="apple-touch-icon" href="{{ '/assets/images/favicon.png?v=1.0' | relative_url }}">
5656
<script src="https://www.youtube.com/iframe_api"></script>
5757
<script src="{{ '/assets/javascript/functions.js' | relative_url }}"></script>
58-
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/smoothscroll.js"></script>
58+
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/smoothscroll.js"></script>
59+
60+
{% comment %}
61+
Data for SEO for easier sharing and being searched
62+
{% endcomment %}
63+
{% seo %}

0 commit comments

Comments
 (0)