mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	Special-1st-Post: allow disabling the special highlight of 1st Post
* usage => in site config
    params:
        disableSpecial1stPost : true
			
			
This commit is contained in:
		| @@ -23,7 +23,7 @@ | ||||
|  | ||||
| {{- $class := "post-entry" }} | ||||
| {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }} | ||||
| {{- if .Site.Params.homeInfoParams }} | ||||
| {{- if .Site.Params.homeInfoParams | or .Site.Params.disableSpecial1stPost}} | ||||
| {{- partial "homeInfo.html" . }} | ||||
| {{else}} | ||||
| {{- $class = "first-entry" }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange