Skip to content

Commit

Permalink
feat: update blog post images
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVinck committed Jan 4, 2024
1 parent 989962d commit cb05e43
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 84 deletions.
109 changes: 55 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "astro-engineering-blog",
"type": "module",
"version": "0.0.1",
"version": "0.0.2",
"author": "Eddy Vinck",
"repository": {
"type": "git",
Expand All @@ -15,15 +15,15 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^1.1.3",
"@astrojs/mdx": "^1.1.4",
"@astrojs/node": "^6.0.3",
"@astrojs/rss": "^3.0.0",
"@astrojs/sitemap": "^3.0.2",
"@astrojs/sitemap": "^3.0.3",
"@astrojs/solid-js": "^3.0.2",
"@astrojs/tailwind": "^5.0.2",
"@nanostores/solid": "^0.4.2",
"appwrite": "^13.0.0",
"astro": "^3.4.0",
"astro": "^3.5.3",
"fuse.js": "^6.6.2",
"lru-cache": "^10.0.1",
"nanostores": "^0.9.4",
Expand Down
File renamed without changes
10 changes: 8 additions & 2 deletions src/content/blog/enabling-emoji-reactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors:
- eddy-vinck
description: "Get started with emoji reactions by adding your Appwrite API keys"
pubDate: "Nov 06 2023"
heroImage: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/enabling-emoji-reactions/post-reactions-for-article.png"
---

Emoji reactions are reaction buttons added to every article in this Astro theme. This is an optional add-on feature which can be enabled by adding an Appwrite API key.
Expand Down Expand Up @@ -50,14 +50,20 @@ If everything goes well, you should be able to find the collection in your Appwr

To trigger the instantiation of the post reactions for a new article, you'll need to refresh the [/blog](/blog) page so that the `getStaticPaths` function runs.

## Why is my blog post not showing up on the ranking page?
## Troubleshooting

### Why is my blog post not showing up on the ranking page?

You need to make sure the ID in your blog post's frontmatter section matches the ID in the Appwrite Collection for your post reactions.

Here you can see the matching ID in the markdown file and in Appwrite for the article with the ID `"enabling-emoji-post-reactions"`:

![Matching IDs in the Frontmatter section and Appwrite](../../assets/images/blog/enabling-emoji-reactions/markdown-and-appwrite-matching-id.png)

### Why does my blog post not show the emoji reaction buttons?

Your new blog posts are automatically added to the Collection in Appwrite when visiting the `/blog` route. If you refresh that route, the emoji reactions should then show up when you open the blog post the next time.

## Removing the post reactions code from your theme

You can remove these directories entirely:
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/engineering-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors:
- eddy-vinck
description: "How to get started with your new engineering blog"
pubDate: "April 24 2023"
heroImage: "/img/readme.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

# Astro Starter Kit: Engineering Blog
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/first-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
- anonymous
description: "Lorem ipsum dolor sit amet"
pubDate: "Jul 08 2022"
heroImage: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
- anonymous
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: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/second-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors:
- anonymous
description: "Lorem ipsum dolor sit amet"
pubDate: "Jul 15 2022"
heroImage: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/third-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors:
- eddy-vinck
description: "Lorem ipsum dolor sit amet"
pubDate: "Jul 22 2022"
heroImage: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/using-mdx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors:
- anonymous
description: "Lorem ipsum dolor sit amet"
pubDate: "Jul 02 2022"
heroImage: "/placeholder-hero.jpg"
heroImage: "../../assets/images/blog/readme/readme.jpg"
---

This theme comes with the [@astrojs/mdx](https://docs.astro.build/en/guides/integrations-guide/mdx/) integration installed and configured in your `astro.config.mjs` config file. If you prefer not to use MDX, you can disable support by removing the integration from your config file.
Expand Down
Loading

0 comments on commit cb05e43

Please sign in to comment.