diff --git a/sample_data/home/error.ejs b/sample_data/home/error.ejs index 3d343ba..9593025 100644 --- a/sample_data/home/error.ejs +++ b/sample_data/home/error.ejs @@ -13,6 +13,7 @@ It means the resource you're trying to access is unavailable right now.
We're terribly sorry that you encountered this error.

Back to home + <%- include('footer'); %> \ No newline at end of file diff --git a/sample_data/home/footer.ejs b/sample_data/home/footer.ejs new file mode 100644 index 0000000..42edf34 --- /dev/null +++ b/sample_data/home/footer.ejs @@ -0,0 +1,5 @@ +
+ \ No newline at end of file diff --git a/sample_data/home/index.ejs b/sample_data/home/index.ejs index 680f203..df1c851 100644 --- a/sample_data/home/index.ejs +++ b/sample_data/home/index.ejs @@ -21,6 +21,7 @@ <% } %> <% }); %> + <%- include('footer'); %> \ No newline at end of file diff --git a/sample_data/home/template.ejs b/sample_data/home/template.ejs index 064c1a1..6acc674 100644 --- a/sample_data/home/template.ejs +++ b/sample_data/home/template.ejs @@ -14,8 +14,9 @@ Published on <%= article.year + '-' + article.month + '-' + article.day %>
<%- article.content %>
-
+
Go to top - Back to home + <%- include('footer'); %> \ No newline at end of file