Compare commits
3 commits
dc92dd52a4
...
9e41003bce
Author | SHA1 | Date | |
---|---|---|---|
9e41003bce | |||
07496814b1 | |||
e991dc36fe |
2 changed files with 3 additions and 4 deletions
|
@ -3,7 +3,6 @@
|
||||||
file=$1
|
file=$1
|
||||||
style=$2
|
style=$2
|
||||||
html_file=${file::-3}.html
|
html_file=${file::-3}.html
|
||||||
style="${style:'style.css'}
|
|
||||||
|
|
||||||
# Put html header in the file so it imports style.css
|
# Put html header in the file so it imports style.css
|
||||||
cat > $html_file << EOF
|
cat > $html_file << EOF
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
./get-feeds
|
get-feeds
|
||||||
./combine-md-files Feeds $HOME/xslfeed/feeds/* > $HOME/xslfeed/feeds.md
|
combine-md-files Feeds $HOME/xslfeed/feeds/* > $HOME/xslfeed/feeds.md
|
||||||
./generate-website-from-html $HOME/xslfeed/feeds.md /etc/xslfeed/style.css
|
generate-website-from-md $HOME/xslfeed/feeds.md /etc/xslfeed/style.css
|
||||||
|
|
Loading…
Reference in a new issue