File: installation.md

package info (click to toggle)
ruby-jekyll-seo-tag 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 336 kB
  • sloc: ruby: 1,934; sh: 23; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Installing Jekyll SEO Tag

1. Add the following to your site's `Gemfile`:

  ```ruby
  gem 'jekyll-seo-tag'
  ```

2. Add the following to your site's `_config.yml`:

  ```yml
  plugins:
    - jekyll-seo-tag
  ```

If you are using a Jekyll version less than `3.5.0`, use the `gems` key instead of `plugins`.

3. Add the following right before `</head>` in your site's template(s):

<!-- {% raw %} -->
  ```liquid
  {% seo %}
  ```
<!-- {% endraw %} -->