Age | Commit message (Collapse) | Author |
|
Keep and write in html is pain, so I'm rendering md as html.
|
|
Add compression and enable it by default.
Also add `cargo-watch` to watch for changes.
|
|
The project has two target bin: actix and hyper.
- Actix is a lot more capable, feature complete and can handle more
request with lower response time but has a bigger memory, size
footprint.
- Hyper is simpler less capable mure with a much smaller footprint.
So by default I'll keep using hyper.
|
|
- Move most logic of the blog to blog.rs, making it easier to test.
- Now the file contains the creation date of the blog post to be parsed.
- Add chrono to parse datetime, so later we can order by date.
- Refactor gitlab pipeline, move `before_script` to a proper place.
|
|
- Use embed rust to load and resolve file from `content/post` folder, so
the whole process is a bit more dynamic.
- Add router to to resolve the path. It is the first step to try to get
the code a bit cleaner.
|
|
It is just a really crappy implementation to get it running until a
figure the pieces of the project out.
|
|
|