mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	baseof: rm unused classes
single, home
This commit is contained in:
		| @@ -5,8 +5,14 @@ | |||||||
|     {{- partial "head.html" . }} |     {{- partial "head.html" . }} | ||||||
| </head> | </head> | ||||||
|  |  | ||||||
| <body class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list | <body class=" | ||||||
|         {{- if .IsHome }} home{{ end }}{{ end }}{{- if eq $.Site.Params.defaultTheme `dark` }} dark{{ end }}" id="top"> | {{- if (or (ne .Kind `page` ) (eq .Layout `archives`)) -}} | ||||||
|  | {{- print "list" -}} | ||||||
|  | {{- end -}} | ||||||
|  | {{- if eq $.Site.Params.defaultTheme `dark` -}} | ||||||
|  | {{- print " dark" }} | ||||||
|  | {{- end -}} | ||||||
|  | " id="top"> | ||||||
|     {{- partialCached "header.html" . .Page}} |     {{- partialCached "header.html" . .Page}} | ||||||
|     <main class="main"> |     <main class="main"> | ||||||
|         {{- block "main" . }} |         {{- block "main" . }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange