Русификация RSS
All checks were successful
/ site (push) Successful in 0s

This commit is contained in:
Артём 2024-01-12 20:54:53 +03:00
parent 7b4ac33e47
commit 060ce9cf8c
No known key found for this signature in database
GPG key ID: EEFBB39006B28920
2 changed files with 5 additions and 5 deletions

View file

@ -15,13 +15,13 @@
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<description>Недавний контент {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}в {{ .Site.Title }}</description>
<generator></generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{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.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Янв 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
@ -29,7 +29,7 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<pubDate>{{ .Date.Format "Вт, 02 Янв 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>

View file

@ -7,7 +7,7 @@
<div class="copyright">
<span>&nbsp;<a href="https://git.sadium.cyou/SadmL/sadium">Исходный код</a> ::</span>
<span><a href="/tos">Условия использования</a> ::</span>
<span>&nbsp;<a href="/index.xml">RSS</a> ::</span>
<span>&nbsp;<a href="/posts/index.xml">RSS</a> ::</span>
<span>&nbsp;{{ now.Year }}</span>
{{ end }}
</div>