mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	head: add alternate pages
to indicate multiple language/locale versions for multilungual sites
This commit is contained in:
		| @@ -37,6 +37,9 @@ | ||||
| {{- range .AlternativeOutputFormats -}} | ||||
| <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> | ||||
| {{ end -}} | ||||
| {{- range .Translations -}} | ||||
| <link rel="alternate" hreflang="{{- .Lang -}}" href="{{- .Permalink -}}" /> | ||||
| {{ end }} | ||||
| {{- partial "extend_head.html" . -}} | ||||
| <!-- Misc --> | ||||
| {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange