summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 3fed5be..209009e 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,12 @@
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
- {{ .Content }}
+ {{ .Summary }}
+ {{ if .Truncated }}
+ <div class="read-more-link">
+ <a href="{{ .RelPermalink }}">Read Moreā€¦</a>
+ </div>
+ {{ end }}
</div>
{{- end }}
</div>