Rename gen related files to their purpose
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user