Pages includes footer

This commit is contained in:
Clément GOUIN
2019-06-21 11:44:39 +02:00
parent 17db174926
commit 3fc01cadb8
4 changed files with 9 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@
It means the resource you're trying to access is unavailable right now.<br>
We're terribly sorry that you encountered this error.<br><br>
<a href="/">Back to home</a>
<%- include('footer'); %>
</main>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
<hr>
<footer>
<small>@<%= new Date().getFullYear() %> - Made with <a href="https://github.com/klemek/gitblog.md">GitBlog.md</a>
</small>
</footer>
+1
View File
@@ -21,6 +21,7 @@
<% } %>
</div>
<% }); %>
<%- include('footer'); %>
</main>
</body>
</html>
+2 -1
View File
@@ -14,8 +14,9 @@
<span class="time"><span>Published on</span> <%= article.year + '-' + article.month + '-' + article.day %></span>
</div>
<div id="text"><%- article.content %></div>
<hr>
<br>
<a href="#top">Go to top</a> - <a href="/">Back to home</a>
<%- include('footer'); %>
</main>
</body>
</html>