Skip more stuff
This commit is contained in:
parent
c3e15f50d7
commit
9e3bf5de9f
2 changed files with 3 additions and 15 deletions
14
feed.xml
14
feed.xml
|
@ -5,11 +5,7 @@
|
|||
<title>askiiart.net</title>
|
||||
<description>The feed for askiiart.net, I guess</description>
|
||||
<link>https://askiiart.net</link>
|
||||
<lastBuildDate>Mon, 25 Sep 2023 19:29:33 +0000</lastBuildDate>
|
||||
<item>
|
||||
<title>Portfolio</title>
|
||||
<link>https://askiiart.net/portfolio.html</link>
|
||||
</item>
|
||||
<lastBuildDate>Mon, 25 Sep 2023 19:46:11 +0000</lastBuildDate>
|
||||
<item>
|
||||
<title>Marlin Boot Animations</title>
|
||||
<link>https://askiiart.net/blog/marlin-boot-animations.html</link>
|
||||
|
@ -22,14 +18,6 @@
|
|||
<title>My Stack</title>
|
||||
<link>https://askiiart.net/stack.html</link>
|
||||
</item>
|
||||
<item>
|
||||
<title>Wishlist</title>
|
||||
<link>https://askiiart.net/wishlist.html</link>
|
||||
</item>
|
||||
<item>
|
||||
<title>Resume</title>
|
||||
<link>https://askiiart.net/resume.html</link>
|
||||
</item>
|
||||
<item>
|
||||
<title>Using JSON with docker compose</title>
|
||||
<link>https://askiiart.net/til/using-json-with-docker-compose.html</link>
|
||||
|
|
|
@ -15,8 +15,8 @@ done
|
|||
# Based off https://en.wikipedia.org/wiki/RSS, particularly the example
|
||||
printf "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<rss version=\"2.0\">\n\n<channel>\n <title>askiiart.net</title>\n <description>The feed for askiiart.net, I guess</description>\n <link>https://askiiart.net</link>\n <lastBuildDate>$(TZ='UTC' date --rfc-2822)</lastBuildDate>" > feed.xml
|
||||
find . -name "*.html" | while read -r item; do
|
||||
# Skip template.html
|
||||
if [[ ${item} == "./template.html" ]]; then
|
||||
# Skip template.html, wishlist.html, resume.html, and portfolio.html
|
||||
if [[ ${item} == "./template.html" || ${item} == "./wishlist.html" || ${item} == "./resume.html" || ${item} == "./portfolio.html" ]]; then
|
||||
continue
|
||||
fi
|
||||
item="${item%.*}"
|
||||
|
|
Loading…
Reference in a new issue