diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-10 11:38:15 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-10 11:38:15 -0500 |
commit | 0d4604ddd641b2853756f58afefee69abb074212 (patch) | |
tree | 45567ac3c17c31c4c4335b1a38ed37e9e890e3be /download/build.js | |
parent | 929580128db74b68e3d8ee80cdc37e0a836e1213 (diff) |
Updated how styles are calculated for the cv.pdf build
Diffstat (limited to 'download/build.js')
-rw-r--r-- | download/build.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/download/build.js b/download/build.js index 7e18973..baef284 100644 --- a/download/build.js +++ b/download/build.js @@ -4,7 +4,8 @@ const fs = require('fs'); const childProcess = require('child_process'); const resumeHtml = fs.readFileSync('../resume.html').toString(); -const resumeCss = fs.readFileSync('./resume_dl.css').toString(); +const resumeCss = fs.readFileSync('../resume.css').toString(); +const resumeDlCss = fs.readFileSync('./resume_dl.css').toString(); function getRidofTagsBetween(start, end, html) { let si = newHtml.indexOf(start); @@ -21,6 +22,7 @@ const newHeader = ` <script>window.onload = function () { twemoji.parse(document.body);}</script> <style> ${resumeCss} +${resumeDlCss} </style> </head> ` |