diff --git a/config.toml b/config.toml
index 8c57b73..20d1347 100755
--- a/config.toml
+++ b/config.toml
@@ -65,12 +65,15 @@ DefaultContentLanguage = "ru"
# set title for the table of contents
# can be overridden in a page's front-matter
- # TocTitle = "Содержание" # default
+ # TocTitle = "Содержание" # default
+ [params.author]
+ email = ""
+ name = "Сисадмин Линк"
[languages]
[languages.ru]
- languageCode = 'ru'
- languageName = 'RU'
+ languageCode = "ru"
+ languageName = "RU"
title = "Sadium"
[languages.ru.params]
writtenby = "Сисадмин Линк"
@@ -117,4 +120,8 @@ DefaultContentLanguage = "ru"
[[languages.ru.menu.main]]
identifier = "uptime"
name = "[Uptime]"
- url = "https://up.sadium.cyou"
\ No newline at end of file
+ url = "https://up.sadium.cyou"
+ [[languages.ru.menu.main]]
+ identifier = "uptime"
+ name = "[Uptime]"
+ url = "https://up.sadium.cyou"
\ No newline at end of file
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index cb41a68..29e13b3 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -1,40 +1,57 @@
-{{- $pctx := . -}}
-{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
-{{- $pages := slice -}}
-{{- if or $.IsHome $.IsSection -}}
-{{- $pages = $pctx.RegularPages -}}
-{{- else -}}
-{{- $pages = $pctx.Pages -}}
-{{- end -}}
-{{- $limit := .Site.Config.Services.RSS.Limit -}}
-{{- if ge $limit 1 -}}
-{{- $pages = $pages | first $limit -}}
-{{- end -}}
+{{- /* Deprecate site.Author.name in favor of site.Params.author.name */}}
+{{- $authorName := "" }}
+{{- with site.Params.author }}
+ {{- if reflect.IsMap . }}
+ {{- with .name }}
+ {{- $authorName = . }}
+ {{- end }}
+ {{- else }}
+ {{- $authorName = . }}
+ {{- end }}
+{{- else }}
+ {{- with site.Author.name }}
+ {{- $authorName = . }}
+ {{- warnf "The author key in site configuration is deprecated. Use params.author.name instead." }}
+ {{- end }}
+{{- end }}
+
+{{- $pctx := . }}
+{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
+{{- $pages := slice }}
+{{- if or $.IsHome $.IsSection }}
+{{- $pages = $pctx.RegularPages }}
+{{- else }}
+{{- $pages = $pctx.Pages }}
+{{- end }}
+{{- $limit := .Site.Config.Services.RSS.Limit }}
+{{- if ge $limit 1 }}
+{{- $pages = $pages | first $limit }}
+{{- end }}
{{- printf "" | safeHTML }}