mirror of
				https://github.com/TeamPiped/hugo-whisper-theme.git
				synced 2024-08-14 23:57:00 +00:00 
			
		
		
		
	Fix UniqueID deprecation warning
.UniqueID is deprecated and will be removed in a future release. Use .File.UniqueID.
This commit is contained in:
		
							parent
							
								
									ee171928d4
								
							
						
					
					
						commit
						696e674553
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -3,9 +3,9 @@ | |||
|   <h4>{{ .Section | humanize }}</h4> | ||||
|   <ul> | ||||
|     {{ range (where .Site.RegularPages "Section" .Section) sort .Site.RegularPages ".Weight" }} | ||||
|     <li class="{{ if eq .UniqueID $currentNode.UniqueID }}active {{ end }}"> | ||||
|     <li class="{{ if eq .File.UniqueID $currentNode.File.UniqueID }}active {{ end }}"> | ||||
|       <a href="{{ .Permalink }}">{{ .Title }}</a> | ||||
|     </li> | ||||
|     {{ end }} | ||||
|   </ul> | ||||
| </div> | ||||
| </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue