diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..abbf1a2 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,23 @@ +{% extends "index.html" %} + +{% block title %} {{ config.title }} | {{ section.title }} {% endblock title %} + + +{% block content %} + {% if section.word_count > 0 %} + {{ section.content }} + {% else %} +

+ {{ section.title }} +

+ Pages: + + {% endif %} +{% endblock content %} + + +