Easily create blog post excerpts for Jekyll and Github Pages (Example)
jekyllgithub-pagesbloggingliquidstatic-site
Abstraction: Jekyll blog excerpt generation via HTML comment delimiter technique
Key points:
- Insert
<!--more-->in post content to mark the excerpt boundary - In the blog loop template, split on
<!--more-->and display only the first segment:{{ post.content | split:'<!--more-->' | first }} - Mirrors the WordPress
<!--more-->tag convention - Works with both Jekyll standalone and GitHub Pages
Connections: Jekyll · Github Pages · Static Site Generation
Source: https://coderwall.com/p/eazb7w