|
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +# Use this setup block to configure all options available in MetaTags. |
| 4 | +MetaTags.configure do |config| |
| 5 | + # How many characters should the title meta tag have at most. Default is 70. |
| 6 | + # Set to nil or 0 to remove limits. |
| 7 | + # config.title_limit = 70 |
| 8 | + |
| 9 | + # When true, site title will be truncated instead of title. Default is false. |
| 10 | + # config.truncate_site_title_first = false |
| 11 | + |
| 12 | + # Add HTML attributes to the <title> HTML tag. Default is {}. |
| 13 | + # config.title_tag_attributes = {} |
| 14 | + |
| 15 | + # Natural separator when truncating. Default is " " (space character). |
| 16 | + # Set to nil to disable natural separator. |
| 17 | + # This also allows you to use a whitespace regular expression (/\s/) or |
| 18 | + # a Unicode space (/\p{Space}/). |
| 19 | + # config.truncate_on_natural_separator = " " |
| 20 | + |
| 21 | + # Maximum length of the page description. Default is 300. |
| 22 | + # Set to nil or 0 to remove limits. |
| 23 | + # config.description_limit = 300 |
| 24 | + |
| 25 | + # Maximum length of the keywords meta tag. Default is 255. |
| 26 | + # config.keywords_limit = 255 |
| 27 | + |
| 28 | + # Default separator for keywords meta tag (used when an Array passed with |
| 29 | + # the list of keywords). Default is ", ". |
| 30 | + # config.keywords_separator = ', ' |
| 31 | + |
| 32 | + # When true, keywords will be converted to lowercase, otherwise they will |
| 33 | + # appear on the page as is. Default is true. |
| 34 | + # config.keywords_lowercase = true |
| 35 | + |
| 36 | + # When true, the output will not include new line characters between meta tags. |
| 37 | + # Default is false. |
| 38 | + # config.minify_output = false |
| 39 | + |
| 40 | + # When false, generated meta tags will be self-closing (<meta ... />) instead |
| 41 | + # of open (`<meta ...>`). Default is true. |
| 42 | + # config.open_meta_tags = true |
| 43 | + |
| 44 | + # List of additional meta tags that should use "property" attribute instead |
| 45 | + # of "name" attribute in <meta> tags. |
| 46 | + # config.property_tags.push( |
| 47 | + # 'x-hearthstone:deck', |
| 48 | + # ) |
| 49 | +end |
0 commit comments