mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	Hide "..." in list pages when summary is not Truncated
This commit is contained in:
		| @@ -51,7 +51,7 @@ | |||||||
|   </header> |   </header> | ||||||
|   {{- if (ne (.Param "hideSummary") true)}} |   {{- if (ne (.Param "hideSummary") true)}} | ||||||
|   <section class="entry-content"> |   <section class="entry-content"> | ||||||
|     <p>{{ .Summary | plainify | htmlUnescape }}...</p> |     <p>{{ .Summary | plainify | htmlUnescape }}{{- if .Truncated }}...{{- end -}}</p> | ||||||
|   </section> |   </section> | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- if not (.Param "hideMeta") }} |   {{- if not (.Param "hideMeta") }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange