Skip to content

Commit

Permalink
Don't include links or images in generated summary
Browse files Browse the repository at this point in the history
  • Loading branch information
mikroskeem committed Jan 8, 2025
1 parent be70032 commit 263f1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="catalogue-title">{{ .Title }}</h2>
<div class="catalogue-line"></div>

<p>
{{ if isset .Params "summary" }}{{ .Params.Summary | markdownify }}{{ else }}{{ .Summary }}{{ end }}
{{ if isset .Params "summary" }}{{ .Params.Summary | markdownify }}{{ else }}{{ .Summary | plainify }}{{ end }}
</p>
</div>
</a>

0 comments on commit 263f1e3

Please sign in to comment.