Skip to content

Commit

Permalink
Fix mismatch truncate. Fixes #115
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstratton committed Jun 10, 2017
1 parent 13e0186 commit 8303698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/row.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>
{{- else -}}
<div class = "col">
{{- if ge (countrunes .Description ) 600 -}}
<p class = "hompage_episode_description">{{ .Description | markdownify | truncate 900 " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
<p class = "hompage_episode_description">{{ .Description | markdownify | truncate 600 " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
{{- else -}}
<p class = "hompage_episode_description">{{ .Description | markdownify }}</p>
{{- end -}}
Expand Down

0 comments on commit 8303698

Please sign in to comment.