From 6ce1bb2a488802fb8c4aaa5c2b1cf3bec91428a0 Mon Sep 17 00:00:00 2001 From: pedrocx486 Date: Sat, 11 Feb 2023 21:46:06 -0300 Subject: [PATCH] Post editing (from file!) --- public/assets/posts/hello-world.json | 8 --- src/App.vue | 88 +++++++++++++++++++++++++--- src/file-manager.service.ts | 52 +++++++++++++++- 3 files changed, 129 insertions(+), 19 deletions(-) delete mode 100644 public/assets/posts/hello-world.json diff --git a/public/assets/posts/hello-world.json b/public/assets/posts/hello-world.json deleted file mode 100644 index 75fd470..0000000 --- a/public/assets/posts/hello-world.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "postTitle": "Hello World!", - "timestamp": "1654062776", - "editedTimestamp": "", - "postContent": "Welcome to my humble blog! This blog is hosted using a blog platform loosely based on my [ngx-dumblog](http:\/\/github.com\/pedroCX486\/ngx-dumblog) project. My intent is to make this look more and more retro with time.\r\n \r\nAnd before you ask, it's availabe [here](http:\/\/git.pedrocx486.club\/pedrocx486\/ngx-retroblog).\r\n \r\nFor more info (maybe), check [The Club](https:\/\/pedrocx486.club)!", - "filename": "hello-world", - "draft": false -} diff --git a/src/App.vue b/src/App.vue index 44482b1..50bf55a 100755 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,17 @@