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

Can we have og & twitter tags inherit from the defaults? #30

Open
b1nary opened this issue Jan 25, 2017 · 0 comments
Open

Can we have og & twitter tags inherit from the defaults? #30

b1nary opened this issue Jan 25, 2017 · 0 comments

Comments

@b1nary
Copy link

b1nary commented Jan 25, 2017

Something like:

  <%= metamagic site: Rails.application.class.parent_name,
                title: [:title, :site],
                separator: " - ",
                description: "Something something",
                keywords: [:keywords, Rails.application.class.parent_name],
                og: {
                  title: :site,
                  description: :description,
                  type: "website",
                  url: request.original_url,
                  image: "https://i.imgflip.com/1ic5h7.jpg"
                },
                twitter: {
                  title: :site,
                  description: :description
                } %>

That would be awesome

@b1nary b1nary changed the title Can we have og & twitter tags define to inherit in the defaults? Can we have og & twitter tags to inherit in the defaults? Jan 25, 2017
@b1nary b1nary changed the title Can we have og & twitter tags to inherit in the defaults? Can we have og & twitter tags inherit from the defaults? Jan 25, 2017
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