Skip to content

Commit

Permalink
Data for SEO for easier sharing and being searched
Browse files Browse the repository at this point in the history
  • Loading branch information
chepecarlos committed Jul 11, 2020
1 parent 4cfeefc commit e639ec9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ source "https://rubygems.org"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "github-pages"
gem 'jekyll-seo-tag'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ DEPENDENCIES
dotenv
github-pages
html-proofer
jekyll-seo-tag
tzinfo-data

BUNDLED WITH
Expand Down
5 changes: 5 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ links:
# Link to the Amazon store.
amazon: https://www.amazon.com/shop/thecodingtrain

# SEO data for twitter
twitter:
username: thecodingtrain

# --- Build Settings ---

# Use Kramdown as the preferred Markdown parser.
Expand Down Expand Up @@ -91,6 +95,7 @@ sass: { sass_dir: "assets/css" }
# Use jekyll-redirect-from to allow redirections
plugins:
- jekyll-redirect-from
- jekyll-seo-tag

# --- Jekyll Locations ---
layouts_dir: _jekyll/layouts
Expand Down
7 changes: 6 additions & 1 deletion _jekyll/includes/2-base/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,9 @@
<link rel="apple-touch-icon" href="{{ '/assets/images/favicon.png?v=1.0' | relative_url }}">
<script src="https://www.youtube.com/iframe_api"></script>
<script src="{{ '/assets/javascript/functions.js' | relative_url }}"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/smoothscroll.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/smoothscroll.js"></script>

{% comment %}
Data for SEO for easier sharing and being searched
{% endcomment %}
{% seo %}

0 comments on commit e639ec9

Please sign in to comment.