Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
This commit is contained in:
		
							parent
							
								
									2ab90a708e
								
							
						
					
					
						commit
						e8fdb4e084
					
				| @ -30,7 +30,7 @@ | |||||||
|   <div class="post-content"> |   <div class="post-content"> | ||||||
|   {{- with .Content -}} |   {{- with .Content -}} | ||||||
|       <div> |       <div> | ||||||
|         {{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor"> 🔗︎</a> ${3}` | safeHTML }} |         {{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor"> ⌗</a> ${3}` | safeHTML }} | ||||||
|       </div> |       </div> | ||||||
|       {{- end -}} |       {{- end -}} | ||||||
|   </div> |   </div> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user