Skip to content

Commit 6aa0a5c

Browse files
committed
dynamic OG image URLs and about tweaks
1 parent 6811044 commit 6aa0a5c

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

src/layouts/Blog.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import BaseLayout from "./BaseLayout.astro";
33
const { frontmatter } = Astro.props;
44
const hasTags = frontmatter.tags && frontmatter.tags.length > 0;
5-
const imgLink = `${Astro.site.origin}/og${Astro.url.pathname.replace(/\/$/, "")}.png`;
5+
const imgLink = `${Astro.url.origin}/og${Astro.url.pathname.replace(/\/$/, "")}.png`;
66
const hasDiscussion = frontmatter.discussion && frontmatter.discussion_link;
77
---
88

src/pages/about.astro

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
1414
remotely electronic. I'm a student at the
1515
<a href="https://wisc.edu" target="_blank" style="font-size: 1em;">
1616
University of Wisconsin-Madison</a
17-
>, where I'm majoring in Computer Science. I consider myself a software
18-
engineer at heart, but I'm increasingly interested in learning more about
19-
the realm of hardware and systems (...which has led me to enroll in a few
20-
ECE classes next semester, woohoo!). I'm originally from New York City,
17+
>, where I'm majoring in Computer Science. I'm originally from New York City,
2118
where I love exploring and skating around the boroughs.
2219
</p>
2320

@@ -32,17 +29,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
3229
/>
3330
</div>
3431

35-
<i
36-
style="display: flex; justify-content: center; margin-top: 10px; font-size: 0.95em;"
37-
>
38-
with some UPL friends & alum
39-
</i>
40-
4132
<h2>Contact</h2>
4233

4334
<p style="margin-bottom: 0;">
4435
Feel free to contact me for whatever reason. I'd love to hear from you (if
45-
you aren't a bot or AI agent... please don't spam my address!). You can
36+
you aren't a bot or AI agent; please don't spam my address!). You can
4637
reach out to me by emailing <code>me (at) amoses (dot) dev</code>. If you'd
4738
like to sign or encrypt a message, my PGP key is below.
4839
</p>

0 commit comments

Comments
 (0)