Copy stylesheet last so its not included in rss generation
This commit is contained in:
parent
c9284ecaab
commit
92f679acd1
7
pblog.sh
7
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;
|
rsync $POSTS_DIR*.html $OUTPUT$WEB_HTML;
|
||||||
rm $POSTS_DIR*.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
|
# Remove the default blog index to avoid pulling into the XML feed
|
||||||
rm $OUTPUT$WEB_HTML/index.html
|
rm $OUTPUT$WEB_HTML/index.html
|
||||||
|
@ -76,3 +73,7 @@ done
|
||||||
|
|
||||||
echo " </channel>
|
echo " </channel>
|
||||||
</rss>";
|
</rss>";
|
||||||
|
|
||||||
|
# Copy XSLT, stylesheet files
|
||||||
|
rsync rss.xsl $OUTPUT/blog;
|
||||||
|
rsync style.css $OUTPUT/blog;
|
||||||
|
|
Loading…
Reference in New Issue