{% extends 'story/base.html' %} {% load static %} {% load i18n %} {% load comments %} {% load blog_modules %} {% block main %}
{% latest_articles_module "homepage-slide" as slide_articles %}
{% for article in slide_articles %}
{% endfor %}
{% latest_articles_module "homepage-featured" as featured_articles %} {% latest_articles_module "homepage-category" as category_articles %}
{% trans "Category Section" %}

{% trans "Category Section" %}

{% trans "Discover recent stories, fresh perspectives, and practical ideas from our authors." %}

{% with article=category_articles.0 %}{% if article %}
{% if article.img %}{{ article.title }}{% endif %}
{% if article.author.userprofile.avatar %}{{ article.author.get_full_name|default:article.author.username }}{% endif %}
{{ article.author.get_full_name|default:article.author.username }}

{{ article.title }}

{{ article.intro|striptags }}

{% get_comment_count for article as article_comment_count %}{{ article_comment_count }} {% trans "comments" %}
{% endif %}{% endwith %}
{% for article in category_articles|slice:"1:" %}
{% if article.img %}{{ article.title }}{% endif %}
{{ article.category.title }}

{{ article.title }}

{{ article.intro|striptags }}

{% endfor %}
{% tags_module "global-tag-cloud" as homepage_tags %} {% if homepage_tags %}
{% trans "Explore by Topic" %}

{% trans "Explore by Topic" %}

{% trans "Discover stories through the subjects that interest you most." %}

{% for item in homepage_tags %} {{ item.title }} {{ item.article_count }} {% endfor %}
{% endif %}
{% trans "From Our Partners" %}

{% trans "From Our Partners" %}

{% trans "Selected services and ideas from partners we recommend." %}

{% latest_articles_module "homepage-latest" as latest_articles %}
{% trans "Latest Posts" %}

{% trans "Latest Posts" %}

{% trans "Discover recent stories, fresh perspectives, and practical ideas from our authors." %}

{% with article=latest_articles.0 %}{% if article %}
{% endif %}{% endwith %}
{% for article in latest_articles|slice:"1:4" %}
{% endfor %}
{% for article in latest_articles|slice:"3:" %}
{% endfor %}
{% endblock %}