Copy stylesheet last so its not included in rss generation

This commit is contained in:
Arya Kiran 2022-09-09 17:57:07 +05:30
parent c9284ecaab
commit 92f679acd1
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 4 additions and 3 deletions

View File

@ -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 " </channel>
</rss>";
# Copy XSLT, stylesheet files
rsync rss.xsl $OUTPUT/blog;
rsync style.css $OUTPUT/blog;