{% 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['users:active']|number_format, }, { icon: 'fas fa-user-check fa-fw', name: 'online', value: statistics['users:online:recent']|number_format, }, { icon: 'fas fa-user-clock fa-fw', name: 'active (24 hr)', value: statistics['users:online:today']|number_format, }, { icon: 'fas fa-list fa-fw', name: 'topics', value: statistics['forum:topics:visible']|number_format, }, { icon: 'fas fa-comments fa-fw', name: 'posts', value: statistics['forum:posts:visible']|number_format, }, { icon: 'fas fa-comment-dots fa-fw', name: 'comments', value: statistics['comments:posts:visible']|number_format, }, ] %} {% set header_menu = msz_header_menu() %} {% block main_header %}
{% for item in header_menu[1:] %} {{ item.title }} {% 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 |
{% endfor %}
{% if online_users|length > 0 %}
{{ container_title(' Currently Online') }}
{% for user in online_users %} {{ avatar(user.id, 50, user.name) }} {% endfor %}
{% endif %}
{% if linked_data is not null %} {% endif %} {% endblock %}