diff --git a/sass/_base.scss b/sass/_base.scss index c256619..9e52852 100644 --- a/sass/_base.scss +++ b/sass/_base.scss @@ -151,3 +151,18 @@ code { font-family: $mono-fonts; font-size:14px; } +.post { + margin: 10px; + background-color: #ddd; + font-size: 20px; + .post_title { + background-color: #ccc; + padding: 5px; + } + .post_title a { + font-family: $normal-fonts; + } + .post_summary { + padding: 5px; + } +} diff --git a/templates/section.html b/templates/section.html index 055832f..1b6e71c 100644 --- a/templates/section.html +++ b/templates/section.html @@ -2,4 +2,14 @@ {% block main %} {{ section.content | markdown(inline = true) | safe }} +
+{% for sub in section.pages %} +
+
+ {{ sub.title }} +
+ {% if sub.summary %}
{{ sub.summary | markdown(inline=true) | safe }}
{% endif %} +
+{% endfor %} +
{% endblock %}