feat: make templates extend common layout
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M src/views/post.njk → src/views/post.njk
@@ -1,3 +1,8 @@ +{% extends "layouts/main.njk" %} + +{% block body %} + {{ post.data.title }} {{ post.body | safe }} +{% endblock %}