Skip to content

Commit

Permalink
Implement Content Summaries / Split on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalcraftsman committed Oct 1, 2017
2 parents dae01e1 + b469743 commit 5814b3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ <h1 class="post-title">
<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>
Expand Down

0 comments on commit 5814b3e

Please sign in to comment.