Skip to content

Commit

Permalink
better than a redirect
Browse files Browse the repository at this point in the history
Signed-off-by: razzle <harry@razzle.cloud>
  • Loading branch information
Noxsios committed Jan 6, 2024
1 parent 933360b commit 6e0b643
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: ./.github/actions/dependencies

- name: Compile cv
run: typst compile cv.typ
run: typst compile cv.typ harry-randazzo-cv.pdf

- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
2 changes: 1 addition & 1 deletion cv.typ
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "@preview/splash:0.3.0": tailwind
#set document(title: "Harry Randazzo's Resume", author: "Harry Randazzo")
#set document(title: "Harry Randazzo's CV", author: "Harry Randazzo")
#set page(
margin: (x: 0.5in, y: 0.5in),
)
Expand Down
10 changes: 4 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>cv</title>
<title>Harry Randazzo's CV</title>
</head>

<script>
window.location.replace("./cv.pdf");
</script>

<body>
If not redirected automatically, follow this <a href="./cv.pdf">link</a>.
<object data="./harry-randazzo-cv.pdf" width="100%"
height="100%" style="position:absolute; left: 0; top: 0;">
</object>
</body>

</html>

0 comments on commit 6e0b643

Please sign in to comment.