Réintroduction des favicons
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{{- $authorEmail := "" }}
|
||||
{{- $authorName := "" }}
|
||||
{{- $favicon := "favicon.png" | absURL }}
|
||||
{{- with site.Params.author }}
|
||||
{{- if reflect.IsMap . }}
|
||||
{{- with .email }}{{- $authorEmail = . }}{{- end }}
|
||||
@@ -30,6 +31,11 @@
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>{{ .Site.Title }}</description>
|
||||
<image>
|
||||
<url>{{ $favicon }}</url>
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
</image>
|
||||
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
|
||||
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}
|
||||
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
|
||||
@@ -49,4 +55,4 @@
|
||||
</item>
|
||||
{{- end }}
|
||||
</channel>
|
||||
</rss>
|
||||
</rss>
|
||||
|
||||
Reference in New Issue
Block a user