Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

excerpt Modifier

Generate an excerpt from your content.

Breaks a string at a given marker. Uses <!--more--> by default.

---
title: 'Example Entry'
---
Lorem Ipsum dolor sit amet.<!--more--> consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Massa id neque aliquam vestibulum.
{{ books | excerpt }}
Lorem Ipsum dolor sit amet.

You can override the marker by passing an alternative as the first parameter:

{{ books | excerpt:<!-- end --> }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?