From 92f679acd174cbc2eeffe04af3a166f5fb43debb Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Fri, 9 Sep 2022 17:57:07 +0530 Subject: [PATCH] Copy stylesheet last so its not included in rss generation --- pblog.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pblog.sh b/pblog.sh index 0333b59..6f44eb9 100644 --- a/pblog.sh +++ b/pblog.sh @@ -30,9 +30,6 @@ for i in $POSTS; do pandoc --css=../style.css --ascii --metadata lang="$HTML_LAN rsync $POSTS_DIR*.html $OUTPUT$WEB_HTML; rm $POSTS_DIR*.html -# Copy XSLT, stylesheet files -rsync rss.xsl $OUTPUT/blog; -rsync style.css $OUTPUT/blog; # Remove the default blog index to avoid pulling into the XML feed rm $OUTPUT$WEB_HTML/index.html @@ -76,3 +73,7 @@ done echo " "; + +# Copy XSLT, stylesheet files +rsync rss.xsl $OUTPUT/blog; +rsync style.css $OUTPUT/blog;