feat: make templates extend common layout
1 file changed, 6 insertions(+), 0 deletions(-)
changed files
M src/views/index.njk → src/views/index.njk
@@ -1,5 +1,11 @@ +{% extends "layouts/main.njk" %} + +{% block body %} + hello world {% for filename, post in posts %} {{ post.data.get('title') }} {% endfor %} + +{% endblock %}