diff options
Diffstat (limited to 'themes/cranky/layouts/shortcodes')
-rw-r--r-- | themes/cranky/layouts/shortcodes/prj.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/cranky/layouts/shortcodes/prj.html b/themes/cranky/layouts/shortcodes/prj.html index 2d7df98..0db4abe 100644 --- a/themes/cranky/layouts/shortcodes/prj.html +++ b/themes/cranky/layouts/shortcodes/prj.html @@ -8,7 +8,8 @@ <div class="filledbar"></div> </div> <p class="summary"> - {{ .Summary | truncate 220 "..." }} + {{ $summary := index (split .Content "</p>") 0 }} + {{ $summary | plainify }} </p> </a> <!-- End the loop --> |