diff options
| author | Fuwn <[email protected]> | 2023-09-30 21:49:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-30 21:49:19 -0700 |
| commit | 1afe9d1b2121f286efe30e69668668aa43b732f6 (patch) | |
| tree | e8f81774619cb3cf859283cd06457b3c2872299d | |
| parent | feat(suzuri): rss generator (diff) | |
| download | suzuri-1afe9d1b2121f286efe30e69668668aa43b732f6.tar.xz suzuri-1afe9d1b2121f286efe30e69668668aa43b732f6.zip | |
feat(suzuri): add folder if present to feed title
| -rwxr-xr-x | suzuri | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -50,10 +50,14 @@ fi if [[ -n "${SUZURI_RSS}" ]]; then IFS=$'\n' read -r -d '' -a items <<<"${body}" + if [[ -n "${folder}" ]]; then + folder_title=" | ${folder}" + fi + cat <<EOF <rss version="2.0"> <channel> - <title>sumi.news</title> + <title>sumi.news${folder_title}</title> <link>https://sumi.news</link> <description>Read the entire Internet at once – all the news, RSS, and newsletters on one page.</description> <generator>suzuri</generator> |