Skip to content

Commit

Permalink
fix usage of summary and description shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Feb 22, 2022
1 parent c7b6410 commit 614d157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1 class="gblog-post__title">
</header>

<section class="gblog-markdown">
{{ partial "utils/description" . }}
{{ .Summary }}
</section>
<div class="gblog-post__readmore">
{{ if .Truncated }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/microformats/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{{- with .Params.lead }}
"alternativeHeadline": {{ . }},
{{- end }}
{{- with .Summary }}
{{- with partial "utils/description" . }}
"description": "{{ . | plainify | htmlUnescape | chomp }}",
{{- end }}
{{- with partial "utils/featured" . }}
Expand Down

0 comments on commit 614d157

Please sign in to comment.