Skip to content

An addon for Statamic 4 to manage and customize any meta tag.

License

Notifications You must be signed in to change notification settings

j-jalving/statamic-metatags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statamic Meta tags

This is an add-on for Statamic 3. It gives the ability to manage and customize almost every created meta tags!

Meta Tags index Default values

Supperted Meta tags

  • Classic meta tags, mainly used by search engines
  • Site verification
  • Dublin core
  • Google +
  • Google CSE
  • Open Graph
  • Facebook App
  • Twitter
  • Pinterest
  • App links
  • Mobile and UI related
  • Apple proprietary
  • Android proprietary
  • Favicons

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

Installation

If you are on Statamic < 3.3 use the latest release of v1 branch:

composer require gioppy/statamic-metatags "^1.0.4"

If you are on Statamic >= 3.3 use v2 branch:

composer require gioppy/statamic-metatags

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

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.

About

An addon for Statamic 4 to manage and customize any meta tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 79.7%
  • Antlers 17.4%
  • Blade 2.9%