Skip to content

CaffeinatedOpe/blog_MIRROR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go see the blog at caffeinatedope.net!

okay fine, I'll explain how it works

The blog uses the Astro framework, as it's a good middle ground between dynamic content and static functionality. I'm able to pull the newest media and render the page on the server, which means that the client doesn't have to run any js for the page to work as intended. All of the blog posts get dumped into a folder in the source code, which means that the site needs to be redeployed for each post. Fine with me, since the builds are pretty quick. The projects are a bit trickier, since I might not rebuild the site every time I change the readme to a project. So, the metadata I want for the projects (title, description, url, readme url) are stored in json, which the Astro server reads at init. When a project page gets requested, Astro pulls in the latest readme using Marked, styles it, and pushes it to the client. Works quite well, although my styling leaves something to be desired.

About

The source code to my blog and project portfolio. MIRROR OF CODEBERG REPO

Resources

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors