diff --git a/README.md b/README.md index 27b5ace..14cf45d 100644 --- a/README.md +++ b/README.md @@ -325,6 +325,7 @@ layout: post title: Your awesome post date: 2019-08-26 01:00:00 +0100 categories: [jekyll, markdown, documentation] +custom_excerpt: This text will have precedence as an excerpt over the usual and default first paragraph of text. --- ``` diff --git a/_includes/_article-list.html b/_includes/_article-list.html index 2c99457..f4302b0 100644 --- a/_includes/_article-list.html +++ b/_includes/_article-list.html @@ -8,7 +8,11 @@
{{ post.custom_excerpt | strip_html }}
+ {% else %}{{ post.excerpt | strip_html }}
+ {% endif %} {% endfor %} diff --git a/_posts/2019-08-26-markdown-parsing.md b/_posts/2019-08-26-markdown-parsing.md index 06ec093..0c47f36 100755 --- a/_posts/2019-08-26-markdown-parsing.md +++ b/_posts/2019-08-26-markdown-parsing.md @@ -3,7 +3,7 @@ layout: post title: Markdown parsing date: 2019-08-26 01:00:00 +0100 categories: [jekyll, markdown, documentation] - +custom_excerpt: In this blog post, you'll learn how to use markdown in your favour. Get to know how markdown is being parsed and how you can style your posts the best way. --- Here's an overview of what you can expect to do with kramdown, the markdown parser used in Mero. diff --git a/package.json b/package.json index 28a58f9..386ebdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jekyll-mero", - "version": "1.2.1", + "version": "1.3.0", "description": "A light-weight and minimal theme for Jekyll.", "private": true, "scripts": {