forked from dozens/protoadandsuperbowl
fix(rss): add files from root dir only
parent
c7d0d07c24
commit
40411d667f
|
@ -3,7 +3,7 @@ echo "<rss version=\"2.0\"><channel><title>It's Pro Toad and Superb Owl</title>"
|
||||||
echo "<link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel="self" type="application/rss+xml" href="https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml"/><generator>/bin/sh</generator>" >> feed.xml
|
echo "<link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel="self" type="application/rss+xml" href="https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml"/><generator>/bin/sh</generator>" >> feed.xml
|
||||||
|
|
||||||
|
|
||||||
for f in $(find . -type f -iname '*.md' ! -name 'README.md' | sed 's/\.\///'); do
|
for f in $(find . -type f -iname '*.md' -depth 1 ! -name 'README.md' | sed 's/\.\///'); do
|
||||||
echo "<item>
|
echo "<item>
|
||||||
<title>$f</title>
|
<title>$f</title>
|
||||||
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/$f</link>
|
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/$f</link>
|
||||||
|
|
Loading…
Reference in New Issue