From: M. Taylor Saotome-Westlake Date: Mon, 5 Sep 2016 20:12:04 +0000 (-0700) Subject: render posts after the first on the front page; not too much spacing X-Git-Url: http://534655.efjtl6rk.asia/source?a=commitdiff_plain;h=ff704c0849d1b7008eb4702a6cce15dc5c16b1e9;p=Ultimately_Untrue_Thought.git render posts after the first on the front page; not too much spacing --- diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 4400a8b..d10a6a7 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -128,8 +128,6 @@ h1, h2, h3, h4, h5, h6 { h1 { font-size: 2em; - margin: 0.67em 0; - padding: 0.7em 0 0.3em; } h1 a { @@ -176,7 +174,6 @@ pre { } hr { - margin: 40px 5% 60px 5%; color: #d6d6d6; box-shadow: 0.1em 0.1em 0.1em #EFEFEF; border-radius: 5px; diff --git a/theme/templates/index.html b/theme/templates/index.html index 8f82005..56079ac 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -4,33 +4,11 @@ {% block content %} {% for article in articles %} - - {% if loop.index == 1 %} - -
-

{{ article.title }}

- {{ article.content }} -
- -
- - {% if loop.length > 1 %} -
-

Last posts

-
    - {% endif %} - - {% elif loop.index < 7 %} -
  1. - {% include 'article_link.inc.html' %} -
  2. - {% endif %} - + +
    {% endfor %} -{% if articles|length > 1 %} -
-
-{% endif %} - {% endblock content %}