diff --git a/models/blog-post.ini b/models/blog-post.ini index 730e252c..8376c1ce 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -32,5 +32,5 @@ type = markdown [fields.excerpt] label = Excerpt -type = text +type = markdown width = 1/2 diff --git a/themes/vocabulary_theme/templates/macros/posts.html b/themes/vocabulary_theme/templates/macros/posts.html index d3fce7f8..28a26342 100644 --- a/themes/vocabulary_theme/templates/macros/posts.html +++ b/themes/vocabulary_theme/templates/macros/posts.html @@ -10,7 +10,7 @@

{{ post.title } {{ render_authors_byline(post) }}
{% if post.excerpt %} - {{ post.excerpt | string | striptags() }} + {{ post.excerpt }} {% else %} {{ post.body | excerpt | string | striptags() | truncate(100) }} {% endif %}