{% extends "lotus/base.html" %} {% load i18n lotus django_blog_plus static %} {% block header-title %}{% block lotus_title %}{{ django_blog_plus_site_name|default:"Blog" }}{% endblock lotus_title %}{% endblock header-title %} {% block metas %} {% endblock metas %} {% block lotus_content %}{% spaceless %}
{% if article_list %} {% with article_list|first as featured_article %} {# Featured Article - Full Width Hero #}

{{ featured_article.title }}

{{ featured_article.introduction|striptags|unescape_html|truncatewords:30 }}

{% endwith %} {# Remaining Articles Grid #} {% with article_list|slice:"1:" as remaining_articles %} {% if remaining_articles %}
{% for article in remaining_articles %}
{% if article.cover %} {{ article.cover_alt_text|default:article.title }} {% else %}
{{ article.title|slice:":1"|upper }}
{% endif %}
{% with article_categories=article.get_categories %} {% if article_categories %} {{ article_categories.0.title }} · {% endif %} {% endwith %} {{ article.publish_datetime|date:"M d, Y" }}

{{ article.title }}

{{ article.introduction|striptags|unescape_html|truncatewords:20 }}

{% endfor %}
{% endif %} {% endwith %} {% include "lotus/pagination.html" %} {% else %}

{% trans "No articles yet" %}

{% trans "Check back soon for new content!" %}

{% endif %}
{% endspaceless %}{% endblock lotus_content %}