Added PDF download
This commit is contained in:
父節點
360b2e4475
當前提交
e9e3b597c5
未顯示二進位檔案。
|
@ -30,7 +30,7 @@
|
|||
</svg>
|
||||
<section id="main">
|
||||
<header id="title">
|
||||
<h1>John Shaver</h1>
|
||||
<h1>John Shaver</h1><a class="download-button no-print" href="John-Shaver-Resume-2018.pdf"><i class="fas fa-file-download"></i></a>
|
||||
<span class="subtitle">Full-Stack Engineer and Devops Enthusiast</span>
|
||||
</header>
|
||||
<section class="main-block">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#! /bin/sh
|
||||
|
||||
npx http-server &
|
||||
sleep 6;
|
||||
chromium --headless --disable-gpu --run-all-compositor-stages-before-draw --print-to-pdf="./John-Shaver-Resume-2018.pdf" http://localhost:8080/ --virtual-time-budget=10000;
|
||||
kill %1;
|
||||
exit;
|
||||
|
載入中…
新增問題並參考