fix site.author and site.email
This commit is contained in:
		
							parent
							
								
									e5fd28dcb5
								
							
						
					
					
						commit
						c2018bddd9
					
				@ -40,7 +40,8 @@
 | 
				
			|||||||
        {{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
 | 
					        {{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
 | 
				
			||||||
        {{ 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.Author.email }}<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}
 | 
				
			||||||
        {{ with .Site.Author.email }}<Author>{{.}}{{with $.Site.Author.name }} ({{.}}){{end}}</Author>{{end}}
 | 
					        <author>{{ .Site.Author.name }}</author>
 | 
				
			||||||
 | 
					        <email>{{ .Site.Author.email }}</email>
 | 
				
			||||||
        {{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
 | 
					        {{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
 | 
				
			||||||
        {{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
 | 
					        {{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
 | 
				
			||||||
        {{- with .OutputFormats.Get "RSS" -}}
 | 
					        {{- with .OutputFormats.Get "RSS" -}}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user