{% extends 'home/master.twig' %} {% from 'macros.twig' import container_title, avatar %} {% set canonical_url = '/' %} {% set landing_stats = [ { icon: 'fas fa-users fa-fw', name: 'members', value: statistics.count_users_all|number_format, }, { icon: 'fas fa-user-check fa-fw', name: 'online', value: statistics.count_users_online|number_format, }, { icon: 'fas fa-user-clock fa-fw', name: 'active (24 hr)', value: statistics.count_users_active|number_format, }, { icon: 'fas fa-list fa-fw', name: 'topics', value: statistics.count_forum_topics|number_format, }, { icon: 'fas fa-comments fa-fw', name: 'posts', value: statistics.count_forum_posts|number_format, }, { icon: 'fas fa-comment-dots fa-fw', name: 'comments', value: statistics.count_comments|number_format, }, ] %} {% block main_header %}
{% for item in site_menu[1:] %} {% if item.display is not defined or item.display %} {{ item.title }} {% endif %} {% endfor %}
Register
{% endblock %} {% block main_footer %} {% endblock %} {% block content %}
{% for stat in landing_stats %}
{{ stat.value }} {{ stat.name }}
{% endfor %}
{{ container_title(' Active Topics') }}
{% for topic in forum_active %}
{{ topic.topic_title }}
{{ topic.topic_count_posts|number_format }}
{{ topic.topic_count_views|number_format }}
{% endfor %}
{% for post in featured_news %}

{{ post.title }}

{{ post.firstParagraph|parse_text(2)|raw }}

Continue reading | {{ post.createdTime|time_diff }}
{% endfor %}
{% if online_users|length > 0 %}
{{ container_title(' Currently Online') }}
{% for user in online_users %} {{ avatar(user.user_id, 50, user.username) }} {% endfor %}
{% endif %}
{% if linked_data is defined and linked_data is iterable %} {% endif %} {% endblock %}