about summary refs log tree commit diff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-12-10 07:37:17 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-12-10 07:37:17 +0700
commit5fbcaa0a5f5f2b93cc4a75e461ee990a1fd6fdb9 (patch)
treec95f8cc88b58692ab011e10e79d39ba0f5a1e80c /layouts/_default
parent5d731a5eed9b635c4a4466ddca4b34fc542bd335 (diff)
downloadblog-5fbcaa0a5f5f2b93cc4a75e461ee990a1fd6fdb9.tar.gz
Make title more sense + remove dead links
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/rss.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 59b0fef..5d9bac4 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -8,9 +8,9 @@
 {{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
-    <title>{{ if eq  .Title  .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} – {{ end }}{{ .Site.Title }}{{ end }}</title>
+    <title>{{ if eq  .Title  "Home page" }}{{ .Site.Title }}{{ else }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
     <link>{{ .Permalink }}</link>
-    <description>{{ .Site.Title }}{{ if ne  .Title  .Site.Title }}{{ with .Title }} ({{.}}){{ end }}{{ end }}</description>
+    <description>{{ .Site.Title }} ({{ if ne  .Title "Home page" }}{{ .Title }}{{else}}all{{ end }})</description>
     <generator>Hugo - gohugo.io</generator>{{ with .Site.LanguageCode }}
     <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
     <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}