style: format code with Prettier

This commit fixes the style issues introduced in c39c794 according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-28 21:25:47 +00:00 committed by GitHub
parent c39c794892
commit a7a2eba79b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 10 deletions

View file

@ -8,6 +8,7 @@ tags:
- caddy
- networking
---
import Note from "../../components/Note.astro";
<Note text="This is an older blog post imported from my old Django website" />
@ -48,4 +49,4 @@ In the end, I went with the third option, I went back to `Nginx Proxy Manager` (
After all of that, switching proxies, dropping Docker, and a lot of suffering, I got this page working. Overall, would I go with Django again? Most likely! It was fast and easy to learn, and it has some really nice features. Though I wish Python was faster so I could use this for larger projects :c
While I continue to work out bugs on this page and my terrible server management, enjoy reading the slop in the blog 😋
While I continue to work out bugs on this page and my terrible server management, enjoy reading the slop in the blog 😋

View file

@ -13,16 +13,18 @@ It's been written from scratch with Astro, Typescript and a lot of suffering, mo
So where do I start, maybe _why_ I have chosen Astro over other existing options.
## Why Astro
TLDR: I don't know :3
- I've been trying to learn typescript through trying astro
- Astro is hard, due to all the issues I've encountered
- I've been trying to learn typescript through trying astro
- Astro is hard, due to all the issues I've encountered
## The problems
- Issue with Astros `getEntries()` not working, thus having to implement my own method
- Fighting with Astro to display banner images, it won
- Using external plugins for images/slides
- Specifically passing variables into scripts
- Issue with Astros `getEntries()` not working, thus having to implement my own method
- Fighting with Astro to display banner images, it won
- Using external plugins for images/slides
- Specifically passing variables into scripts
```typescript
export async function getTagsBySlug(
@ -46,6 +48,7 @@ export async function getTagsBySlug(
```
## What I've learned
- More experience writing in Typescript
- Learning about MDX accidentally
- Reading Documentation, ironically
- More experience writing in Typescript
- Learning about MDX accidentally
- Reading Documentation, ironically