From 10e7944bc32c48b597f3013ba477d687aef23bfb Mon Sep 17 00:00:00 2001 From: swag Date: Mon, 28 Nov 2022 23:22:25 -0500 Subject: [PATCH] Rename layout to default per convention --- templates/layouts/{main.html.ep => default.html.ep} | 0 templates/moderator/index.html.ep | 2 +- templates/moderator/list.html.ep | 2 +- templates/moderator/login.html.ep | 2 +- templates/remark/by_id.html.ep | 2 +- templates/remark/create.html.ep | 2 +- templates/thread/by_id.html.ep | 2 +- templates/thread/by_page.html.ep | 2 +- templates/thread/create.html.ep | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) rename templates/layouts/{main.html.ep => default.html.ep} (100%) diff --git a/templates/layouts/main.html.ep b/templates/layouts/default.html.ep similarity index 100% rename from templates/layouts/main.html.ep rename to templates/layouts/default.html.ep diff --git a/templates/moderator/index.html.ep b/templates/moderator/index.html.ep index c7c03f6..5690044 100644 --- a/templates/moderator/index.html.ep +++ b/templates/moderator/index.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'Top Secret';

<%= title %>

For mods only!!

diff --git a/templates/moderator/list.html.ep b/templates/moderator/list.html.ep index e715fdf..8200e46 100644 --- a/templates/moderator/list.html.ep +++ b/templates/moderator/list.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'Top Secret';

<%= title %>

For mods only!!

diff --git a/templates/moderator/login.html.ep b/templates/moderator/login.html.ep index ac226bb..b7b06b7 100644 --- a/templates/moderator/login.html.ep +++ b/templates/moderator/login.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'Moderator Login';

<%= title %>

diff --git a/templates/remark/by_id.html.ep b/templates/remark/by_id.html.ep index 3fcbb6b..f165a1f 100644 --- a/templates/remark/by_id.html.ep +++ b/templates/remark/by_id.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title "Remark #$remark->{'id'}";

<%= title %>

diff --git a/templates/remark/create.html.ep b/templates/remark/create.html.ep index a4426fa..eadeb68 100644 --- a/templates/remark/create.html.ep +++ b/templates/remark/create.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'New Remark';

<%= title %>

diff --git a/templates/thread/by_id.html.ep b/templates/thread/by_id.html.ep index 1b67be2..2b834b6 100644 --- a/templates/thread/by_id.html.ep +++ b/templates/thread/by_id.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title "Thread #$thread->{'id'}";

<%= title %>

diff --git a/templates/thread/by_page.html.ep b/templates/thread/by_page.html.ep index b557456..ce7e36f 100644 --- a/templates/thread/by_page.html.ep +++ b/templates/thread/by_page.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'Threads List';

<%= title %>

diff --git a/templates/thread/create.html.ep b/templates/thread/create.html.ep index 24e874a..b122c0c 100644 --- a/templates/thread/create.html.ep +++ b/templates/thread/create.html.ep @@ -1,4 +1,4 @@ -% layout 'main'; +% layout 'default'; % title 'New Thread';

<%= title %>