diff --git a/pdf/compiler/parse-cv-entries.ts b/pdf/compiler/parse-cv-entries.ts index 29b41f1..4a633e7 100644 --- a/pdf/compiler/parse-cv-entries.ts +++ b/pdf/compiler/parse-cv-entries.ts @@ -32,19 +32,19 @@ const parseCVEntry = (entry: ExperienceEntry | EducationEntry | ProjectEntry) => } if((entry as ExperienceEntry).pdfFileUrl) { - let fileUrl = (entry as ExperienceEntry).pdfFileUrl; - place = `{${place} \\href{${fileUrl}}{\\color{gray} cert \\ExternalLink }\\hfill}`; + let fileUrl = base_href+(entry as ExperienceEntry).pdfFileUrl; + place = `{${place} \\tiny (\\href{${fileUrl}}{\\color{gray} review \\ExternalLink})}`; } if((entry as EducationEntry).degreePdfFileUrl || (entry as EducationEntry).thesisPdfFileUrl) { let { degreePdfFileUrl, thesisPdfFileUrl } = entry as EducationEntry; if (degreePdfFileUrl && thesisPdfFileUrl) { - place = `{${place} \\href{${degreePdfFileUrl}}{\\color{gray} degree \\ExternalLink }\\hfill \\href{${thesisPdfFileUrl}}{\\color{gray} thesis \\ExternalLink }}`; + place = `{${place} \\tiny (\\href{${base_href}${degreePdfFileUrl}}{\\color{gray} certificate \\ExternalLink }, \\href{${base_href}${thesisPdfFileUrl}}{\\color{gray} thesis \\ExternalLink })}`; } else if (degreePdfFileUrl) { - place = `{${place} \\href{${degreePdfFileUrl}}{\\color{gray} degree \\ExternalLink }\\hfill}`; + place = `{${place} \\tiny (\\href{${base_href}${degreePdfFileUrl}}{\\color{gray} certificate \\ExternalLink }})}`; } else if (thesisPdfFileUrl) { - place = `{${place} \\href{${thesisPdfFileUrl}}{\\color{gray} thesis \\ExternalLink }\\hfill}`; + place = `{${place} \\tiny (\\href{${base_href}${thesisPdfFileUrl}}{\\color{gray} thesis \\ExternalLink }})}`; } } diff --git a/pdf/result b/pdf/result index afdf511..35b0eb7 120000 --- a/pdf/result +++ b/pdf/result @@ -1 +1 @@ -/nix/store/8yw6z0lnmb25334vdzxdiz8kf6qlidam-latex-demo-document \ No newline at end of file +/nix/store/4i1g7byayxgxnzvnlq39a7cqwxdkkrqf-latex-demo-document \ No newline at end of file