mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 11:25:26 +01:00 
			
		
		
		
	Plainify items insize toc list
This commit is contained in:
		| @@ -71,10 +71,10 @@ | |||||||
|                 {{- end -}} |                 {{- end -}} | ||||||
|                 {{- end }} |                 {{- end }} | ||||||
|                 <li> |                 <li> | ||||||
|                     <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a> |                     <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify | safeHTML -}}">{{- $header | plainify | safeHTML -}}</a> | ||||||
|                     {{- else }} |                     {{- else }} | ||||||
|                 <li> |                 <li> | ||||||
|                     <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a> |                     <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify | safeHTML -}}">{{- $header | plainify | safeHTML -}}</a> | ||||||
|                     {{- end -}} |                     {{- end -}} | ||||||
|                     {{- end -}} |                     {{- end -}} | ||||||
|                     <!-- {{- $firstHeaderLevel := len (seq (index (findRE "[1-6]" (index $headers 0) 1) 0)) -}} --> |                     <!-- {{- $firstHeaderLevel := len (seq (index (findRE "[1-6]" (index $headers 0) 1) 0)) -}} --> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange