diff options
Diffstat (limited to 'templates/posts-section.html')
| -rw-r--r-- | templates/posts-section.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/posts-section.html b/templates/posts-section.html new file mode 100644 index 0000000..77e8c3b --- /dev/null +++ b/templates/posts-section.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} {% block body %} +<h1>{{ section.title }}</h1> +<p>{{ section.content | safe }}</p> +<ul> + {% for page in section.pages %} + <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> ({{ page.date }})</li> + {% endfor %} +</ul> +{% endblock body %} |
