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

This commit is contained in:
Артём 2024-08-09 19:20:11 +03:00
parent 30c5e39a63
commit 75195dabe3
No known key found for this signature in database
GPG key ID: EEFBB39006B28920

View file

@ -30,9 +30,9 @@
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} {{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title> <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} в {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description> <description>Недавний контент {{ if ne .Title .Site.Title }}{{ with .Title }}> {{ . }} {{ end }}{{ end }}в {{ .Site.Title }}</description>
<generator>Hugo</generator> <generator>Hugo</generator>
<language>{{ site.Language.LanguageCode }}</language> <language>{{ site.Language.LanguageCode }}</language>
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor> <managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>