mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	[PATCH] tpl/tplimpl: Use .Language.LanguageCode in built-in templates
cherry-pick from ff77a927f9
			
			
This commit is contained in:
		 Joe Mooring
					Joe Mooring
				
			
				
					committed by
					
						 Aditya Telange
						Aditya Telange
					
				
			
			
				
	
			
			
			 Aditya Telange
						Aditya Telange
					
				
			
						parent
						
							87df659c18
						
					
				
				
					commit
					cf62fa3c40
				
			| @@ -23,8 +23,8 @@ | |||||||
|       <link>{{ index . 0 | absURL }}</link> |       <link>{{ index . 0 | absURL }}</link> | ||||||
|     </image> |     </image> | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     <generator>Hugo -- gohugo.io</generator>{{ with site.LanguageCode }} |     <generator>Hugo -- gohugo.io</generator> | ||||||
|     <language>{{.}}</language>{{end}}{{ with site.Author.email }} |     <language>{{ site.Language.LanguageCode }}</language>{{ with site.Author.email }} | ||||||
|     <managingEditor>{{.}}{{ with site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with site.Author.email }} |     <managingEditor>{{.}}{{ with site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with site.Author.email }} | ||||||
|     <webMaster>{{.}}{{ with site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with site.Copyright }} |     <webMaster>{{.}}{{ with site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with site.Copyright }} | ||||||
|     <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} |     <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user