diff options
author | Hylke Visser <htdvisser@gmail.com> | 2015-12-20 18:26:32 +0300 |
---|---|---|
committer | Hylke Visser <htdvisser@gmail.com> | 2015-12-20 18:26:32 +0300 |
commit | bca46856e432d853310010b3cbb2bd030a8c5255 (patch) | |
tree | 03af1e9b0c4bad136286c6c56b2e12ea96e98c7d | |
parent | 1ffa9d1502516ccb8d30674fc51b29935748dea1 (diff) |
Only show Read More when necessary
Closes #4
-rw-r--r-- | layouts/partials/article-list-item.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article-list-item.html b/layouts/partials/article-list-item.html index 788c84c..37696c5 100644 --- a/layouts/partials/article-list-item.html +++ b/layouts/partials/article-list-item.html @@ -8,6 +8,6 @@ {{ end }} </div> <section class="summary"> - {{ .Summary }} <a href="{{ .RelPermalink }}">Read More...</a> + {{ .Summary }} {{ if .Truncated }} <a href="{{ .RelPermalink }}">Read More...</a>{{ end }} </section> </article> |