mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 11:45:26 +01:00 
			
		
		
		
	Update hugo internal templates
Remove .Site.Authors from embedded templates
f6745ad358
			
			
This commit is contained in:
		| @@ -29,14 +29,6 @@ | |||||||
| <meta property="article:section" content="{{ .Section }}" /> | <meta property="article:section" content="{{ .Section }}" /> | ||||||
| {{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }} | {{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }} | ||||||
| {{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }} | {{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }} | ||||||
|  |  | ||||||
| {{- range .Site.Authors }} |  | ||||||
| {{ with .Social.facebook }}<meta property="article:author" content="https://www.facebook.com/{{ . }}" />{{ end }} |  | ||||||
| {{ with .Site.Social.facebook }}<meta property="article:publisher" content="https://www.facebook.com/{{ . }}" />{{ end }} |  | ||||||
| {{- with .Params.tags }}{{ range first 6 . }} |  | ||||||
| <meta property="article:tag" content="{{ . }}" /> |  | ||||||
| {{- end }}{{ end -}} |  | ||||||
| {{- end -}} |  | ||||||
| {{- end -}} | {{- end -}} | ||||||
|  |  | ||||||
| {{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }} | {{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }} | ||||||
|   | |||||||
| @@ -31,8 +31,3 @@ | |||||||
| {{ with .Site.Social.twitter -}} | {{ with .Site.Social.twitter -}} | ||||||
| <meta name="twitter:site" content="@{{ . }}"/> | <meta name="twitter:site" content="@{{ . }}"/> | ||||||
| {{ end -}} | {{ end -}} | ||||||
| {{ range .Site.Authors }} |  | ||||||
| {{ with .twitter -}} |  | ||||||
| <meta name="twitter:creator" content="@{{ . }}"/> |  | ||||||
| {{ end -}} |  | ||||||
| {{ end -}} |  | ||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange