head: support favicon custom path
usage =>
params:
  assets:
    favicon: '<path / external url>'
closes #14
			
			
This commit is contained in:
		
							parent
							
								
									d8199140e5
								
							
						
					
					
						commit
						8cab9c9de5
					
				|  | @ -39,7 +39,7 @@ | ||||||
| {{- end -}} | {{- end -}} | ||||||
| <!-- Favicons --> | <!-- Favicons --> | ||||||
| <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | ||||||
| <link rel="icon" href="{{ "favicon.ico" | absURL }}"> | <link rel="icon" href="{{ .Site.Params.assets.favicon | default "favicon.ico" | absURL }}"> | ||||||
| <!-- Generator --> | <!-- Generator --> | ||||||
| {{- hugo.Generator }} | {{- hugo.Generator }} | ||||||
| <!-- RSS --> | <!-- RSS --> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Aditya Telange
						Aditya Telange