metamagic
metamagic copied to clipboard
Can we have og & twitter tags inherit from the defaults?
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