{% extends "main/layout.html" %} {% from 'global_macros.html' import data, preload_circle, select %} {% from 'main/macros.html' import App, Collection, Custom %} {% block page_vendor_css %} {% endblock page_vendor_css %} {% block page_lvl_css %} {{ process_css_sources(src="main/home.css")|safe }} {% if settings.background and settings.background != 'None' %} {% endif %} {% endblock page_lvl_css %} {% block content %}
search unfold_less
{% if tags_form.tags.choices|count > 1 %}
{{ tags_form.tags(id='tags-select') }}
{% endif %}
{% if apps %} {# If tags are enabled, render the apps like this #} {% if tags|count > 1 %} {% for tag in tags %}
{% if tag.icon %} {{ tag.icon }} {% endif %} {{ tag.name }} keyboard_arrow_up
{% for app in apps %} {% if app.tags and tag.name in app.tags %} {% if app.type == "app" %} {{ App(app) }} {% elif app.type == "collection" %} {{ Collection(app) }} {% elif app.type == "custom" %} {{ Custom(app) }} {% endif %} {% endif %} {% endfor %}
{% endfor %} {% else %} {# otherwise, render the apps like this #} {% for app in apps %} {% if app.type == "app" %} {{ App(app) }} {% elif app.type == "collection" %} {{ Collection(app) }} {% elif app.type == "custom" %} {{ Custom(app) }} {% endif %} {% endfor %} {% endif %} {% else %}
No apps yet, go to settings.
{% endif %}
{% endblock content %} {% block page_vendor_js %} {% endblock page_vendor_js %} {% block page_lvl_js %} {{ process_js_sources(src="main/home.js")|safe }} {% endblock page_lvl_js %}