Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Buffa committed Oct 21, 2020
2 parents 81142b8 + eb4e800 commit 9d381c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ This is an add-on for Statamic 3. It gives the ability to manage and customize a

If you think that some meta tags are missing, open a PR!

## How to use

All meta tags are managed through fieldsets: once the necessary categories are activated, the `metatags.yaml` fieldset is created or updated.

You can insert meta tags directly into a blueprint by selecting the metatags fieldset. **It is not necessary to set a prefix for the fieldset**.

![Fieldset](https://web.giovannibuffa.it/github/statamic_metatags_03.png)

In your template, remove the `title` tag in `layout.antlers.html` and replace it with `{{ metatags }}`.

## Credits

The add-on was inspired by the excelent [Metatag Drupal module](https://www.drupal.org/project/metatag).

0 comments on commit 9d381c2

Please sign in to comment.