aboutsummaryrefslogtreecommitdiff
path: root/tests/test_router.rs
AgeCommit message (Collapse)Author
2022-06-11feat: Handle 404 resultGabriel A. Giovanini
Now gracefully handle 404, so instead of just panic now it will return a proper http 404 response.
2022-05-14feat: Move code to blogGabriel A. Giovanini
- 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.
2022-05-08ref: Add embded rust and routerGabriel A. Giovanini
- 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.