summaryrefslogtreecommitdiff
path: root/themes/cranky/layouts/shortcodes/prj.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/cranky/layouts/shortcodes/prj.html')
-rw-r--r--themes/cranky/layouts/shortcodes/prj.html3
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 -->