Eleventy post excerpt

This is how you get post excerpt in eleventy using nunjucks.

{{ post.templateContent | striptags(true) | truncate(280) }}

source