mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	SetThemeAuto: disable auto theme set by default
- user needs to add
        + params:
             SetThemeAuto: true
			
			
This commit is contained in:
		| @@ -32,5 +32,7 @@ | ||||
| {{- template "_internal/opengraph.html" . }} | ||||
| {{- end }} | ||||
| <!-- Script --> | ||||
| {{- if $.Site.Params.SetThemeAuto -}} | ||||
| {{ $settheme := resources.Get "set-theme.js" | minify }} | ||||
| <script src="{{ $settheme.Permalink }}"></script> | ||||
| <script src="{{ $settheme.Permalink }}"></script> | ||||
| {{- end -}} | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange