Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Also doesn't require a plugin. Based on thisthis.

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Also doesn't require a plugin. Based on this.

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Also doesn't require a plugin. Based on this.

added 31 characters in body
Source Link
Clive Portman
  • 2.9k
  • 19
  • 36

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Also doesn't require a plugin. Based on this.

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Based on this.

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Also doesn't require a plugin. Based on this.

Source Link
Clive Portman
  • 2.9k
  • 19
  • 36

Doesn't answer the specific question but based on the title in search results it might be helpful for anyone just wanting to truncate a string:

{{ entry.title | length > 75 ? entry.title | slice(0, 75) ~ '...' : entry.title }}

Based on this.