diff --git a/index.js b/index.js index e245076..ea9bd52 100644 --- a/index.js +++ b/index.js @@ -572,13 +572,21 @@ app.get('/resume', async (req, res) => { return res.render('resumeEntry', { badError: true }); } - console.log(unencryptedOrgs) + if (req.query.raw && process.env.NODE_ENV === "development") + return res.json({ + pd: unencryptedPD, + jobs: unencryptedJobs, + education: unencryptedEducation, + orgs: unencryptedOrgs, + // desc: unencryptedDesc + }); res.render('resume', { pd: unencryptedPD, jobs: unencryptedJobs, education: unencryptedEducation, - orgs: unencryptedOrgs + orgs: unencryptedOrgs, + // desc: unencryptedDesc }); }); diff --git a/views/pages/resume.ejs b/views/pages/resume.ejs index a69f49e..15d1324 100644 --- a/views/pages/resume.ejs +++ b/views/pages/resume.ejs @@ -6,6 +6,7 @@ @media print { :root { --color: #FF4000; + font-size: 11pt; } body { @@ -19,6 +20,10 @@ border-left: 4px solid var(--color); } + section { + page-break-inside: avoid; + } + a { color: black; text-decoration: none; @@ -32,6 +37,10 @@ margin-top: -0.5em; } + h3 { + margin-bottom: -0.5rem; + } + p.address, p.pd { margin-left: 1rem; @@ -59,12 +68,15 @@ Hint: Use CTRL P to print this page and get a more readable layout.

+ +

Organizations / Volunteering

+

Education

+
+

Experience

+
<%- include("../components/footer.ejs") %> <%- include("../components/post-main.ejs") %>