mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	head: AlternativeOutputFormats impl as in hugo docs
* https://gohugo.io/templates/output-formats/#list-output-formats
This commit is contained in:
		| @@ -43,8 +43,8 @@ | |||||||
| {{- hugo.Generator }} | {{- hugo.Generator }} | ||||||
| <!-- RSS --> | <!-- RSS --> | ||||||
| {{- range .AlternativeOutputFormats -}} | {{- range .AlternativeOutputFormats -}} | ||||||
| {{- printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} | <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> | ||||||
| {{- end -}} | {{ end -}} | ||||||
| <!-- 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
	 Aditya Telange
					Aditya Telange