Browse Source

updated front page h-entry to include read more

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

3
themes/anatole/layouts/index.html

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