Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom SEO Field #32

Open
davist11 opened this issue Apr 22, 2021 · 0 comments
Open

Custom SEO Field #32

davist11 opened this issue Apr 22, 2021 · 0 comments

Comments

@davist11
Copy link
Contributor

Should we make a custom SEO field that has:

  • Meta Title (plain text)
  • Meta Description (plain text)
  • Meta Image (asset)

Then some ability in the template to override those values with some defaults per entry template

{% set meta = craft.viget.meta(entry, options) %}

Where options is an object where you can set a field to use for title/description/image if nothing is set in the field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant