19 lines
806 B
HTML
19 lines
806 B
HTML
|
<aside class="read-next">
|
||
|
{{ with .NextInSection }}
|
||
|
<a class="read-next-story" style="{{ if .Params.image }}background-image: url({{ .Params.image | relURL }}){{ else }}no-cover{{ end }}" href="{{ .RelPermalink }}">
|
||
|
<section class="post">
|
||
|
<h2>{{.Title}}</h2>
|
||
|
<p>{{ delimit (first 19 (split .Summary " ")) " " }}…</p>
|
||
|
</section>
|
||
|
</a>
|
||
|
{{ end }}
|
||
|
{{ with .PrevInSection }}
|
||
|
<a class="read-next-story prev" style="{{ if .Params.image }}background-image: url({{ .Params.image | relURL}}){{ else }}no-cover{{ end }}" href="{{ .RelPermalink }}">
|
||
|
<section class="post">
|
||
|
<h2>{{.Title}}</h2>
|
||
|
<p>{{ delimit (first 19 (split .Summary " ")) " " }}…</p>
|
||
|
</section>
|
||
|
</a>
|
||
|
{{ end }}
|
||
|
</aside>
|