Updated index.html to now include an intro section.

This commit is contained in:
Josh Stephens 2018-07-05 20:40:48 -05:00 committed by Gilson Filho
parent 97c1d75916
commit 70d2f308c0

View File

@ -40,6 +40,13 @@
{% endblock header %} {% endblock header %}
{% block content %} {% block content %}
{% if INTRO_CONTENT %}
<div class="row intro-content">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
{{ INTRO_CONTENT }}
</div>
</div>
{% endif %}
{% for article in articles_page.object_list %} {% for article in articles_page.object_list %}
<div class="post-preview"> <div class="post-preview">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}"> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">
@ -69,5 +76,4 @@
{% endfor %} {% endfor %}
{% include "pagination.html" %} {% include "pagination.html" %}
{% endblock content %} {% endblock content %}