Commits

Andrey Vlasovskikh  committed 4242cb3

Shorter post content on the main page

  • Participants
  • Parent commits f747f86

Comments (0)

Files changed (1)

File doc/index.html

           <div class="published">{{ post.date.strftime('%Y-%m-%d') }}</div>
           <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
           {% if loop.index == 1 %}
-            {% set SIZE = 1000 %}
+            {% set SIZE = 500 %}
             {{ post.content | truncate(SIZE) }}
             {% if post.content | length > SIZE %}
               <p><a href="{{ post.url }}">Read more...</a></p>