diff --git a/src/views/index.ejs b/src/views/index.ejs index d86b65b..b036943 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -1,30 +1,4 @@ <%- include('partials/head') %> <%- include('partials/header') %> -
-
- -
-
-

<%= name %>

- <% if(summaryText !== '') { %> -
-

<%= summaryText %>

-
- <% } %> -
- - -
+<%- include('partials/defaultMain') %> <%- include('partials/footer') %> diff --git a/src/views/partials/defaultMain.ejs b/src/views/partials/defaultMain.ejs new file mode 100644 index 0000000..3d69566 --- /dev/null +++ b/src/views/partials/defaultMain.ejs @@ -0,0 +1,27 @@ +
+
+ +
+
+

<%= name %>

+ <% if(summaryText !== '') { %> +
+

<%= summaryText %>

+
+ <% } %> +
+ + +