fix: use absolute paths

This commit is contained in:
Barrett Ruth 2024-06-18 16:19:13 -05:00
parent 9e43c85791
commit c362d17262
3 changed files with 21 additions and 21 deletions

View file

@ -4,8 +4,8 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles/common.css" /> <link rel="stylesheet" href="/styles/common.css" />
<link rel="stylesheet" href="styles/index.css" /> <link rel="stylesheet" href="/styles/index.css" />
<link rel="icon" type="image/webp" href="/public/logo.webp" /> <link rel="icon" type="image/webp" href="/public/logo.webp" />
<title>Barrett Ruth</title> <title>Barrett Ruth</title>
</head> </head>
@ -18,8 +18,8 @@
</div> </div>
</a> </a>
<div class="header-links"> <div class="header-links">
<a target="_blank" href="public/resume.pdf">Resume</a> <a target="_blank" href="/public/resume.pdf">Resume</a>
<a target="_blank" href="public/transcript.pdf">Transcript</a> <a target="_blank" href="/public/transcript.pdf">Transcript</a>
<!-- <a href="about.html">About</a> --> <!-- <a href="about.html">About</a> -->
<a href="/wip.html">About</a> <a href="/wip.html">About</a>
</div> </div>

View file

@ -4,9 +4,9 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../styles/common.css" /> <link rel="stylesheet" href="/styles/common.css" />
<link rel="stylesheet" href="../styles/post.css" /> <link rel="stylesheet" href="/styles/post.css" />
<link rel="icon" type="image/webp" href="../public/logo.webp" /> <link rel="icon" type="image/webp" href="/public/logo.webp" />
<title>Barrett Ruth</title> <title>Barrett Ruth</title>
</head> </head>
<body class="graph"> <body class="graph">
@ -121,7 +121,7 @@
<div style="display: flex; justify-content: center"> <div style="display: flex; justify-content: center">
<img <img
width="50%" width="50%"
src="../public/website-design.webp" src=./public/website-design.webp"
alt="system design of my portfolio website" alt="system design of my portfolio website"
/> />
</div> </div>
@ -149,7 +149,7 @@
</article> </article>
</div> </div>
</main> </main>
<script src="../scripts/common.js"></script> <script src="/scripts/common.js"></script>
<script src="../scripts/post.js"></script> <script src="/scripts/post.js"></script>
</body> </body>
</html> </html>

View file

@ -4,17 +4,17 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../styles/common.css" /> <link rel="stylesheet" href="/styles/common.css" />
<link rel="stylesheet" href="../styles/post.css" /> <link rel="stylesheet" href="/styles/post.css" />
<link rel="icon" type="image/webp" href="../public/logo.webp" /> <link rel="icon" type="image/webp" href="/public/logo.webp" />
<link href="../public/prism/prism.css" rel="stylesheet" /> <link href="/public/prism/prism.css" rel="stylesheet" />
<link href="../public/prism/prism-theme.css" rel="stylesheet" /> <link href="/public/prism/prism-theme.css" rel="stylesheet" />
<script defer src="../public/prism/prism.js"></script> <script defer src="/public/prism/prism.js"></script>
<link rel="stylesheet" href="../public/katex/katex.css" /> <link rel="stylesheet" href="/public/katex/katex.css" />
<script defer src="../public/katex/katex.js"></script> <script defer src="/public/katex/katex.js"></script>
<script <script
defer defer
src="../public/katex/katex-render.js" src="/public/katex/katex-render.js"
onload="renderMathInElement(document.body);" onload="renderMathInElement(document.body);"
></script> ></script>
<title>Barrett Ruth</title> <title>Barrett Ruth</title>
@ -153,7 +153,7 @@
</article> </article>
</div> </div>
</main> </main>
<script src="../scripts/common.js"></script> <script src="/scripts/common.js"></script>
<script src="../scripts/post.js"></script> <script src="/scripts/post.js"></script>
</body> </body>
</html> </html>