Skip to content

Commit

Permalink
fix: posts moved to posts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
buyallmemes committed Apr 1, 2024
1 parent f2a4539 commit 1b4f96a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 199 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ So, for now, it's a single-repo-almost-a-static-page-thingy - https://github.com
Also, I kinda enjoy writing from time to time + I'm a programmer, so why not combine the best of both worlds — create a
place where a can park some of my thoughts for good.


Time of writing: 29.03.2024, sometime afternoon.
3 changes: 2 additions & 1 deletion docs/31032024.md → posts/31032024.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,12 @@ I have a running Angular frontend and Java backend.
Frontend knows how to talk with backend.
Backend return list of posts, which are store in `resources` folder.
Backend logic is rather silly

- Read files from `resources/blog/posts` project folder
- Load each file content as string into a Post object
- Sort loaded posts by filename in descending order

And yes, I've introduced `fileName` attribute to the `Post`.
And yes, I've introduced `fileName` attribute to the `Post`.
And that's about it.
I already established minimal flow of work.

Expand Down
26 changes: 0 additions & 26 deletions src/main/resources/blog/posts/29032024_hello_world.md

This file was deleted.

171 changes: 0 additions & 171 deletions src/main/resources/blog/posts/31032024.md

This file was deleted.

0 comments on commit 1b4f96a

Please sign in to comment.