class MetaTags::Configuration
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/meta_tags/configuration.rbs class MetaTags::Configuration def open_meta_tags?: () -> true end
MetaTags configuration.
def default_property_tags
def default_property_tags [ # App Link metadata https://developers.facebook.com/docs/applinks/metadata-reference 'al', # Open Graph Markup https://developers.facebook.com/docs/sharing/webmasters#markup 'fb', 'og', # Facebook OpenGraph Object Types https://developers.facebook.com/docs/reference/opengraph # Note that these tags are used in a regex, so including e.g. 'restaurant' will affect # 'restaurant:category', 'restaurant:price_rating', and anything else under that namespace. 'article', 'book', 'books', 'business', 'fitness', 'game', 'music', 'place', 'product', 'profile', 'restaurant', 'video', ].freeze end
def initialize
def initialize reset_defaults! end
def open_meta_tags?
Experimental RBS support (using type sampling data from the type_fusion
project).
def open_meta_tags?: () -> true
This signature was generated using 10 samples from 1 application.
def open_meta_tags? !!open_meta_tags end
def reset_defaults!
def reset_defaults! @title_limit = 70 @truncate_site_title_first = false @description_limit = 300 @keywords_limit = 255 @keywords_separator = ', ' @keywords_lowercase = true @property_tags = default_property_tags.dup @open_meta_tags = true @minify_output = false @skip_canonical_links_on_noindex = false end