diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-12-10 07:37:17 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-12-10 07:37:17 +0700 |
commit | 5fbcaa0a5f5f2b93cc4a75e461ee990a1fd6fdb9 (patch) | |
tree | c95f8cc88b58692ab011e10e79d39ba0f5a1e80c | |
parent | 5d731a5eed9b635c4a4466ddca4b34fc542bd335 (diff) | |
download | blog-5fbcaa0a5f5f2b93cc4a75e461ee990a1fd6fdb9.tar.gz |
Make title more sense + remove dead links
-rw-r--r-- | config.yaml | 2 | ||||
-rw-r--r-- | content/about/rss.md | 7 | ||||
-rw-r--r-- | layouts/_default/rss.xml | 4 |
3 files changed, 3 insertions, 10 deletions
diff --git a/config.yaml b/config.yaml index a828b19..a6c5930 100644 --- a/config.yaml +++ b/config.yaml @@ -86,4 +86,4 @@ params: mainSections: - posts summaryLength: 0 -title: xarvos +title: xarvos' site diff --git a/content/about/rss.md b/content/about/rss.md index 7633059..1246751 100644 --- a/content/about/rss.md +++ b/content/about/rss.md @@ -22,13 +22,6 @@ feeds here: - [German](/de/posts/index.xml) - [Vietnamese](/vi/posts/index.xml) -## TIL (Today I learned) - -- [English](/en/til/index.xml) -- [French](/fr/til/index.xml) -- [German](/de/til/index.xml) -- [Vietnamese](/vi/til/index.xml) - ## Book reviews - [English](/en/book-reviews/index.xml) 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 }} |