Skip to content

Commit

Permalink
Add missing "read more" link to summary.html (#658)
Browse files Browse the repository at this point in the history
* Add missing "read more" link to summary.html

* Fix layouts/post/summary to add read more link
  • Loading branch information
lpar authored Nov 21, 2023
1 parent 64dc2b6 commit bd75943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ <h1 class="f3 near-black">
<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>
1 change: 1 addition & 0 deletions layouts/post/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ <h1 class="f3 near-black">
<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>

0 comments on commit bd75943

Please sign in to comment.