Skip to content

Commit 46b04e4

Browse files
committed
feat: use jekyll-seo-tag to add SEO-friendly meta tags to header
1 parent 66d70c7 commit 46b04e4

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source 'http://rubygems.org'
22

33
gem "jekyll"
4-
gem 'jekyll-sitemap'
54
gem "webrick", "~> 1.7"
65
gem 'jekyll-redirect-from'
6+
gem 'jekyll-seo-tag'
7+
gem 'jekyll-sitemap'

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ GEM
4444
jekyll (>= 3.3, < 5.0)
4545
jekyll-sass-converter (3.0.0)
4646
sass-embedded (~> 1.54)
47+
jekyll-seo-tag (2.8.0)
48+
jekyll (>= 3.8, < 5.0)
4749
jekyll-sitemap (1.4.0)
4850
jekyll (>= 3.7, < 5.0)
4951
jekyll-watch (2.2.1)
@@ -88,6 +90,7 @@ PLATFORMS
8890
DEPENDENCIES
8991
jekyll
9092
jekyll-redirect-from
93+
jekyll-seo-tag
9194
jekyll-sitemap
9295
webrick (~> 1.7)
9396

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ kramdown:
77
input: GFM
88
url: "https://igraph.org"
99
plugins:
10+
- jekyll-seo-tag
1011
- jekyll-sitemap
1112
authors:
1213
- The igraph Team

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
</script>
4848

4949
{{ page.extrahead | default: layout.extrahead }}
50+
{% seo %}
5051
</head>
5152

5253
<body class="{{ bodyclass | default: layout.bodyclass }}">

0 commit comments

Comments
 (0)