Skip to content

Commit a1b7277

Browse files
committed
updated to add support for markdowns
1 parent 75dbf10 commit a1b7277

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/blog-post.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ type = markdown
3232

3333
[fields.excerpt]
3434
label = Excerpt
35-
type = text
35+
type = markdown
3636
width = 1/2

themes/vocabulary_theme/templates/macros/posts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h4 class="b-header"><a class="blog-title" href="{{ post|url }}">{{ post.title }
1010
{{ render_authors_byline(post) }}
1111
<div class="excerpt">
1212
{% if post.excerpt %}
13-
{{ post.excerpt | string | striptags() }}
13+
{{ post.excerpt }}
1414
{% else %}
1515
{{ post.body | excerpt | string | striptags() | truncate(100) }}
1616
{% endif %}

0 commit comments

Comments
 (0)