Rename gen related files to their purpose

master
Raymonzut 4 years ago
parent 3e0462b74b
commit a358896c03
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 5
      client/nginx.conf
  2. 4
      client/public/gen.ex
  3. 0
      client/public/templates/post_index_page.html
  4. 0
      client/public/templates/post_single_page.html

@ -37,11 +37,6 @@ http {
alias /app/gen/;
}
location /api {
proxy_pass https://raymon.dev/api;
proxy_buffering on;
}
error_page 404 /404.html;
location = /404.html {
root /app/error;

@ -1,6 +1,6 @@
# Templates will be filled by posts
index_template = File.read!("./templates/index.html")
post_template = File.read!("./templates/post.html")
index_template = File.read!("./templates/post_index_page.html")
post_template = File.read!("./templates/post_single_page.html")
post_contents = File.ls!("./posts")
|> Enum.reject(fn(x) -> String.starts_with?(x, ".") end)
Loading…
Cancel
Save