mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	extended_head: init (#44)
* add placeholder template for extending head
This commit is contained in:
		
							
								
								
									
										5
									
								
								layouts/partials/extend_head.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								layouts/partials/extend_head.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <!-- Head custom content area start --> | ||||
| <!-- | ||||
| Insert any custom code (web-analytics, resources, etc.) - it will appear in the <head></head> section of every page. Can be overwritten by partial with the same name in the global layouts. | ||||
| --> | ||||
| <!-- Head custom content area end --> | ||||
| @@ -45,6 +45,7 @@ | ||||
| {{- range .AlternativeOutputFormats -}} | ||||
| <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> | ||||
| {{ end -}} | ||||
| {{- partial "extend_head.html" . -}} | ||||
| <!-- Misc --> | ||||
| {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | ||||
| {{- template "_internal/google_analytics_async.html" . }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Northerner-coder
					Northerner-coder