Skip to content

Commit

Permalink
fix: Issue with "Continue Reading" link not displayed after summary s…
Browse files Browse the repository at this point in the history
…plit. (#500)
  • Loading branch information
igor-baiborodine authored Feb 19, 2023
1 parent 0d7412b commit 7b04ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/default-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>{{ i18n "tableOfContents" | default "tableOfContents" }}</h2>
{{ else }}
{{ .ctx.Summary }}

{{ if .ctx.Truncated }}
{{ if or (.ctx.Truncated) (isset .ctx.Params "summary") }}
<a href="{{ .ctx.Permalink }}" class="more">{{ i18n "continueReading" }}</a>
{{ end }}
{{ end }}
Expand Down

0 comments on commit 7b04ffc

Please sign in to comment.