From 5fbcaa0a5f5f2b93cc4a75e461ee990a1fd6fdb9 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Tue, 10 Dec 2024 07:37:17 +0700 Subject: Make title more sense + remove dead links --- config.yaml | 2 +- content/about/rss.md | 7 ------- 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 "" | safeHTML }} - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} – {{ end }}{{ .Site.Title }}{{ end }} + {{ if eq .Title "Home page" }}{{ .Site.Title }}{{ else }}{{ .Title }} – {{ .Site.Title }}{{ end }} {{ .Permalink }} - {{ .Site.Title }}{{ if ne .Title .Site.Title }}{{ with .Title }} ({{.}}){{ end }}{{ end }} + {{ .Site.Title }} ({{ if ne .Title "Home page" }}{{ .Title }}{{else}}all{{ end }}) Hugo - gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} -- cgit 1.4.1