Hugo v0.134.0 changed the return value of the content summary to always be HTML instead of plain text. So we don't need the work around any more.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <article class="blog">
 | |
|   {{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
 | |
|   <section>
 | |
|     {{ .Summary | safeHTML }}
 | |
|     {{- if .Truncated }}
 | |
|     <div class="morelink"><a href="{{ .RelPermalink }}">mehr...</a></div>
 | |
|     {{- end }}
 | |
|   </section>
 | |
| </article>
 |