Implement Content Summaries / Split on index page
This commit is contained in:
commit
5814b3e80c
|
@ -6,7 +6,12 @@
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
<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>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue