Skip to content

Commit

Permalink
adding seo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kapor committed Nov 22, 2024
1 parent da4afb6 commit b8ed72e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]


# A Jekyll plugin to add metadata tags for search engines and social networks to better index and display your site’s content.
gem 'jekyll-seo-tag'

# Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site
gem 'jekyll-sitemap'
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ GEM
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)
listen (~> 3.0)
kramdown (2.4.0)
Expand Down Expand Up @@ -77,6 +79,8 @@ DEPENDENCIES
jekyll (~> 4.3.2)
jekyll-feed (~> 0.12)
jekyll-paginate
jekyll-seo-tag
jekyll-sitemap
minima (~> 2.5)
tzinfo (>= 1, < 3)
tzinfo-data
Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ collections:
plugins:
- jekyll-feed
- jekyll-paginate
- jekyll-sitemap
- jekyll-seo-tag
markdown: kramdown
kramdown:
auto_ids: false
Expand Down
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi">
<title>{% if page.title %}{{page.title}}{% else %}{{site.title}}{% endif %}</title>
<meta name="description" content="{% if page.description %}{{page.description}}{% else %}{{site.description}}{% endif %}">
<meta name="description" content="|||||||||||||||||">
<link rel="canonical" href="{{site.baseurl}}{{page.url}}">
<link rel="apple-touch-icon" href="{{site.baseurl}}/apple-touch-icon.png">
<script rel="stylesheet" href="{{site.baseurl}}/js/scripts.js"></script>
Expand Down Expand Up @@ -99,7 +99,7 @@

</script>


{% seo %}
</head>
<body class="no-scroll">

Expand Down

0 comments on commit b8ed72e

Please sign in to comment.