main
vitrinekast 9 months ago
parent 6db711b0fd
commit f5235815c7

@ -1,4 +1,6 @@
pandoc /home/xpub/www/html/tl-dr/book.html -o /home/xpub/www/html/tl-dr/logged_book.epub -c print.css --metadata title=+log_file_name, --epub-cover-image=cover.jpg --epub-embed-font='/home/xpub/www/html/tl-dr/fonts/Cascadia/ttf/CascadiaCode-Light.ttf' --epub-embed-font='/home/xpub/www/html/tl-dr/fonts/Ductus/DuctusRegular.woff'
cp /home/xpub/www/html/tl-dr/logged_book.epub /home/xpub/www/html/tl-dr/log-books/overwrite.epub
pandoc /home/xpub/www/html/tl-dr/book.html -o /home/xpub/www/html/tl-dr/logged_book.epub -c print.css --metadata title='TD;DR_' + $(date +'%B %dth %Y'), --epub-cover-image=cover.jpg --epub-embed-font='/home/xpub/www/html/tl-dr/fonts/Cascadia/ttf/CascadiaCode-Light.ttf' --epub-embed-font='/home/xpub/www/html/tl-dr/fonts/Ductus/DuctusRegular.woff'
cp /home/xpub/www/html/tl-dr/logged_book.epub "/home/xpub/www/html/tl-dr/log-books/TD;DR_" + $(date +'%B %dth %Y') + ".epub"
echo "did the overwrite"
ls log-books > log-books/all.txt

Loading…
Cancel
Save