Skip to content
/ blog Public

My personal website (written in Rust, blazingly fast, deployed on Kubernetes, <insert a bunch of random buzzwords here>, just lack content)

License

Notifications You must be signed in to change notification settings

khuedoan/blog

Repository files navigation

This is the source code of my personal website at khuedoan.com, built with:

You can check out older branches for previous implementations:

Project structure

  • content/: content written in Markdown
  • src/: pages and components
  • public/: static assets
  • build.rs: build logic for rendering Markdown to HTML

Content convention

content
└── posts
    └── example-post.md
public
├── any-static-file-here.txt
└── images
    ├── avatar.jpg
    └── cat-picture.jpg

Posts are placed in content/posts, each post is a Markdown file. Here's an example post:

## Example heading

![Files inside `./public` can be referenced by your code starting from the base URL](/images/cat-picture.webp)

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Development

Open a shell that provides the build environment (requires Nix):

nix develop

Run the development server:

make dev

Then open http://localhost:3000.

Deployment

Acknowledgements

About

My personal website (written in Rust, blazingly fast, deployed on Kubernetes, <insert a bunch of random buzzwords here>, just lack content)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published