diff --git a/static/css/main.css b/static/css/main.css index 7f1b0d52e6a030716b7bfc9fba5a97b156162df0..636ccb97f6f85180824d509673bc6f2f6b758a99 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -243,6 +243,10 @@ time { font-size: 0.8em; } +#container main p { + margin-top: 1rem; +} + .meta-aside, #container main section#home ul li aside, #container main article aside { diff --git a/templates/index.html b/templates/index.html index b73fa39a5670bcbd6fe6dc74bfc9bddb1826e3fc..30690b3034dd70055e5cb1329d4f35120dce1ec6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,8 @@ {% extends "base.html" %} {% block content %} <main> - <section id="home"> + {% if INDEX %}<section>{{ INDEX }}</section>{% endif %} + <section id="home"> <ul> {% for article in articles_page.object_list %} <li>