kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

Better cropping of titles defined as an array? #217

Open tobiasgr opened 4 years ago

tobiasgr commented 4 years ago

Hi

Is it possible to make the cropping of the title and description only insert array parts that fit within the cropping limit?

Example: @page_title = ["super dynamic sales line", "perfect 5 out of 5 rating","Call us on xxxxxxxx","Fast Service","Free delivery"] Currently it ends up to this:

<title>Super dynamic sales line - perfect 5 out of 5 rating - Call us on xxxxxxx - Fast</title>

Instead it should be:

<title>Super dynamic sales line - perfect 5 out of 5 rating - Call us on xxxxxxx</title>

Am I missing a setting, or is this a feature request?