Compare commits

...

3 commits

2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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