Add missing "read more" link to summary.html (#658)

* Add missing "read more" link to summary.html

* Fix layouts/post/summary to add read more link
This commit is contained in:
mathew 2023-11-21 14:08:47 -06:00 committed by Olivier ROMAN
parent 275e3d27e4
commit 8072886809
2 changed files with 2 additions and 0 deletions

View file

@ -9,5 +9,6 @@
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div>
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
</div>
</div>

View file

@ -12,4 +12,5 @@
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div>
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
</div>