" <> (Map.get(post, :date) |> String.slice(0..6)) <>
diff --git a/client/nginx.conf b/client/nginx.conf
index e2315f3..49252f1 100644
--- a/client/nginx.conf
+++ b/client/nginx.conf
@@ -7,9 +7,6 @@ events {
}
http {
include /etc/nginx/mime.types;
- types {
- application/javascript mjs;
- }
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
@@ -29,10 +26,6 @@ http {
alias /app/assets/styling;
}
- location /js {
- alias /app/lib;
- }
-
location /posts {
alias /app/gen/;
}
diff --git a/client/posts/.gitkeep b/client/posts/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/client/posts/ExamplePost b/client/posts/ExamplePost
new file mode 100644
index 0000000..12e9d21
--- /dev/null
+++ b/client/posts/ExamplePost
@@ -0,0 +1,8 @@
+id
+4739537f3d29e1047a45c254
+title
+Example post for my new post page!
+date
+Mon, 11 May 2020 13:25:00 GMT
+content
+My new posts page is live
diff --git a/client/public/index.html b/client/public/index.html
index 9925e9d..06b9db5 100644
--- a/client/public/index.html
+++ b/client/public/index.html
@@ -8,8 +8,6 @@
Raymon Zutekouw
-
-
Hi there, good to see you on my website.
- My name is Raymon Zutekouw (born on 29-08-2002)
+ My name is Raymon Zutekouw; Self-thaught programmer by heart.