diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 00000000..7ebf8fa4 Binary files /dev/null and b/static/favicon.ico differ diff --git a/themes/42/layouts/_partials/head.html b/themes/42/layouts/_partials/head.html index 9b8fe1a6..a73074ee 100644 --- a/themes/42/layouts/_partials/head.html +++ b/themes/42/layouts/_partials/head.html @@ -1,4 +1,7 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} -{{ partialCached "head/css.html" . }} \ No newline at end of file + + + +{{ partialCached "head/css.html" . }} diff --git a/themes/42/layouts/index.rss.xml b/themes/42/layouts/index.rss.xml index 76f5a8ac..24eaa906 100644 --- a/themes/42/layouts/index.rss.xml +++ b/themes/42/layouts/index.rss.xml @@ -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 @@ {{ .Site.Title }} {{ .Permalink }} {{ .Site.Title }} + + {{ $favicon }} + {{ .Site.Title }} + {{ .Permalink }} + {{ site.Language.LanguageCode }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} @@ -49,4 +55,4 @@ {{- end }} - \ No newline at end of file +