Skip to content

Commit

Permalink
Removed headshot, set default blog image
Browse files Browse the repository at this point in the history
  • Loading branch information
devthedevel committed Jan 26, 2024
1 parent d00e5a4 commit 6784f17
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
Binary file removed public/blog/Headshots-4b.jpg
Binary file not shown.
File renamed without changes
1 change: 0 additions & 1 deletion src/content/blog/_markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: 'Markdown Style Guide'
description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.'
pubDate: 'Jul 01 2022'
heroImage: '/blog/blog-placeholder-3.jpg'
---

Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
Expand Down
1 change: 0 additions & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Layout from '@layouts/BlogPost.astro';
title='About Me'
description='All about me'
pubDate={new Date('January 10 2024')}
heroImage='/blog/Headshots-4b.jpg'
>
<p>
If you haven't figured it out yet, I'm a software developer (and software
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ blogPosts.sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf());
<img
width={720}
height={360}
src={post.data.heroImage}
src={post.data.heroImage ?? '/blog/blog-placeholder.jpg'}
alt=''
/>
<h4 class='title'>{post.data.title}</h4>
Expand Down

0 comments on commit 6784f17

Please sign in to comment.