all repos — archive/homestead @ 7455233d74ffe056c4a5927c9272516fdc0e5dfc

My future indieweb platform

feat: make templates extend common layout

Alan Pearce
commit

7455233d74ffe056c4a5927c9272516fdc0e5dfc

parent

4ce0f287b64d2d55c9bdd31dee418ba405762273

1 file changed, 13 insertions(+), 0 deletions(-)

changed files
A src/views/layouts/main.njk
@@ -0,0 +1,13 @@
+<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>{% block title %}{{ site.title }}{% endblock %}</title> + </head> + <body> + <main> + {% block body %} + {% endblock %} + </main> + </body> +</html>