Rename gen related files to their purpose

This commit is contained in:
Raymonzut
2020-10-02 14:35:56 +02:00
parent 3e0462b74b
commit a358896c03
4 changed files with 2 additions and 7 deletions
-5
View File
@@ -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)