Skip to content

Commit

Permalink
Merge pull request #20 from z9fr/feature/develop/post-image
Browse files Browse the repository at this point in the history
feat: updated image urls
  • Loading branch information
ebadfd authored Mar 3, 2024
2 parents 2103099 + 333fc9f commit 7d31e6c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog/error-handling-in-go.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Error Handling in Go: Not ACTUALLY Bad"
date: "2024-03-03"
image: "https://z9fr.xyz/static/images/error-handling-in-go.png"
image: "https://utfs.io/f/ed1b8bf6-1643-4fc7-9444-06a5cb9ad2e6-v7ljpp.png"
about: "If you value simplicity and straightforwardness, then you'll appreciate Go. One of its best features is its error handling, which is designed to be easy to comprehend and use. This aligns well with the concept of Go being a simple dumb language."
tags:
- "golang"
Expand Down
2 changes: 1 addition & 1 deletion blog/hello-world.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Hello World"
date: "2023-12-26"
image: "https://z9fr.xyz/static/images/hello-world.png"
image: "https://utfs.io/f/f7459343-abb8-4af1-95d7-701a19ac9c60-z7d1rd.png"
about: "Hello, welcome to my blog"
tags:
- "misc"
Expand Down
2 changes: 1 addition & 1 deletion src/post/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Post {
.front_matter
.image
.clone()
.unwrap_or_else(|| format!("https://{}/static/image/avatar.jpeg", domain));
.unwrap_or_else(|| format!("https://{}/static/img/avatar.jpeg", domain));
}
}

Expand Down
Binary file removed static/images/error-handling-in-go.png
Binary file not shown.
Binary file removed static/images/hello-world.png
Binary file not shown.
File renamed without changes

0 comments on commit 7d31e6c

Please sign in to comment.