{{ .Title }}
- - {{/* Summary - first sentence only at top */}} - {{ with .Params.summary }} -{{ . | markdownify }}
- {{ else }} - {{/* Extract first sentence from description (or full text if no sentence ending) */}} - {{ with .Description }} - {{ $matches := findRE `^[^.!?]*[.!?]` . 1 }} - {{ if gt (len $matches) 0 }} - {{ $firstSentence := index $matches 0 }} -{{ $firstSentence | markdownify }}
- {{ else }} - {{/* No sentence ending found - use first line or full description */}} - {{ $firstLine := index (split . "\n") 0 }} -{{ $firstLine | markdownify }}
- {{ end }} - {{ end }} - {{ end }} -{{ .Title }}
+ {{ with .Description }} +{{ . }}
+ {{ end }}