Browse Source

updated front page h-entry to include read more

master
jk 5 years ago
parent
commit
26c42e6a7d
  1. 5
      themes/anatole/layouts/index.html

5
themes/anatole/layouts/index.html

@ -8,13 +8,14 @@
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4>
{{ .Summary }}
</article>
{{ if .Truncated }}
<!-- This <div> includes a read more link, but only if the summary is truncated... -->
<div class="readmore">
<br/><a href="{{ .RelPermalink }}">Read More…</a>
</div>
</div>
{{ end }}
</article>
{{ end }}
{{ end }}
</div>