{{ favicon_link_tag() }} {{ stylesheet_tag("landing_css") | safe }}

{{ _("Yes, it is smilepack!") }}

{{ ngettext("%(num)d smile in collection,", "%(num)d smiles in collection,", smiles_count) }} {{ ngettext("%(num)d smilepack created", "%(num)d smilepacks created", smilepacks_count) }}
{% if current_user.is_authenticated %} {{ _("Logged in as {username}").format(username=current_user.username) }}
{{ csrf_token_field() }}

{% if current_user.is_admin %}{{ _('Smilepack administration') }}{% endif %} {{ _('Profile settings') }} {% endif %}
{{ _("Create smilepack") }}
{% if smilepacks %} {{ _("Or open an existing one:") }} {% endif %}
{%- if new_smiles_json|length >= 20 %}
{{ _("New smiles:") }}
{% for smile in new_smiles_json %} {%- endfor %}
{% endif -%}
{{ javascript_tag("landing_js") | safe }}