Skip to content

Commit

Permalink
perf: add seo tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryrden committed Dec 27, 2023
1 parent 6a40dfe commit afb4a90
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ source "https://rubygems.org"

gem "jekyll"
gem "jekyll-polyglot" # for multilingual support
gem "jekyll-sitemap" # for sitemap.xml
gem "jekyll-sitemap" # for sitemap.xml
gem 'jekyll-seo-tag' # for SEO tags
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ GEM
jekyll (>= 4.0, >= 3.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
Expand Down Expand Up @@ -74,6 +76,7 @@ PLATFORMS
DEPENDENCIES
jekyll
jekyll-polyglot
jekyll-seo-tag
jekyll-sitemap

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ timezone: America/Sao_Paulo
plugins:
- jekyll-polyglot
- jekyll-sitemap
- jekyll-seo-tag

languages: ["pt-br", "en"]
default_lang: "pt-br"
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="{{ site.google_search_console }}" />
{% seo %}
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% else %}
Expand Down

0 comments on commit afb4a90

Please sign in to comment.