From 46b1e6c785c9e15e721faa54d6e979c5c226c1a3 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Wed, 30 Aug 2023 11:14:08 +0700 Subject: Restore revived feed Also remove unused files --- add-front-matter.sh | 19 ------------------- feeds | 1 + preprocess.sh | 1 - 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100755 add-front-matter.sh delete mode 100755 preprocess.sh diff --git a/add-front-matter.sh b/add-front-matter.sh deleted file mode 100755 index 69e0b7b..0000000 --- a/add-front-matter.sh +++ /dev/null @@ -1,19 +0,0 @@ -if [[ $1 == "temp" ]]; then - exit -fi - -title=$(grep -m1 '#' $1 | grep -o "[^#]*"); -new_path=$(echo $1 | sed "s/\//_/g" | sed "s/\._/.\//g") - -{ echo -e "---\ntitle: $title"; -echo -e "categories: [ conlang ]"; -echo -e "no_feed: true"; -echo -e "disable_feed: true\n---\n"; -echo "Go to [Table of Contents](/conlang/)" -cat $1; } > temp -mv temp $1 -# flatten -if [[ $1 != "./_index.md" ]]; then - mv $1 $new_path -fi -find -type d | grep "\./[a-z]*$" | rm -rf diff --git a/feeds b/feeds index 05138c6..3f4ca0c 100644 --- a/feeds +++ b/feeds @@ -9,3 +9,4 @@ https://adol.pw/index.xml https://shivering-isles.com/feed.xml https://blog.libreserver.org/rss.xml https://unixsheikh.com/feed.rss +https://nerdteacher.com/feed/ diff --git a/preprocess.sh b/preprocess.sh deleted file mode 100755 index 68a3692..0000000 --- a/preprocess.sh +++ /dev/null @@ -1 +0,0 @@ -for file in $(find -type f); do ../../add-front-matter.sh $file; done -- cgit 1.4.1