summaryrefslogtreecommitdiff
path: root/download/build.js
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-12-23 12:20:58 -0500
committermattkae <mattkae@protonmail.com>2022-12-23 12:20:58 -0500
commit4ac5e377a8ff514180082d92b38369a920ef02d1 (patch)
treeaaca942855069bd2aeb709dcd9e1000132d99f43 /download/build.js
parente8504a410ae7aaabcfb63d72681537c854d34e02 (diff)
parent3d9cec63ca208d8e2fde49cfaaa5508f8b1dcf09 (diff)
Merge branch 'master' into feature/winter_2022
Diffstat (limited to 'download/build.js')
-rw-r--r--download/build.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/download/build.js b/download/build.js
index 7e18973..39c79cc 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);
@@ -19,8 +20,10 @@ const newHeader = `
<meta charset="UTF-8" />
<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?11.2"></script>
<script>window.onload = function () { twemoji.parse(document.body);}</script>
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300" rel="stylesheet" type="text/css">
<style>
${resumeCss}
+${resumeDlCss}
</style>
</head>
`