metamagic icon indicating copy to clipboard operation
metamagic copied to clipboard

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

Open b1nary opened this issue 8 years ago • 0 comments

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 avatar Jan 25 '17 18:01 b1nary