mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +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 -}} | {{- range .AlternativeOutputFormats -}} | ||||||
| <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> | <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> | ||||||
| {{ end -}} | {{ end -}} | ||||||
|  | {{- partial "extend_head.html" . -}} | ||||||
| <!-- Misc --> | <!-- Misc --> | ||||||
| {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | ||||||
| {{- template "_internal/google_analytics_async.html" . }} | {{- template "_internal/google_analytics_async.html" . }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Northerner-coder
					Northerner-coder