{%- if config.extra.socials %}
    {%- if config.generate_feed and config.extra.feed_icon -%}
  • feed
  • {%- endif -%} {# Mail icon #} {%- if config.extra.email -%} {%- set email_already_encoded = (config.extra.email is not containing("@")) -%} {%- set email_needs_decoding = email_already_encoded or config.extra.encode_plaintext_email -%} {%- if email_already_encoded -%} {%- set encoded_email = config.extra.email -%} {# Verify the pre-encoded e-mail is valid (i.e. contains an '@') #} {%- set decoded_email = encoded_email | base64_decode -%} {%- if '@' not in decoded_email -%} {{ throw(message="ERROR: The provided e-mail appears to be base64-encoded, but does not decode to a valid e-mail address.")}} {%- endif -%} {%- elif config.extra.encode_plaintext_email -%} {%- set encoded_email = config.extra.email | base64_encode -%} {%- endif -%}
  • {%- if email_needs_decoding -%} {%- else -%} {%- endif -%} email
  • {%- endif -%} {% for social in config.extra.socials %}
  • {{
  • {% endfor %}
{% endif %}
{%- if lang != config.default_language %} {{ trans(key="powered_by" | safe, lang=lang) }} {% else %} Powered by {% endif %} Zola {%- if lang != config.default_language %} {{ trans(key="and" | safe, lang=lang) }} {% else %} & {% endif %} tabi
{# Load the decoding script if email is encoded #} {%- if email_needs_decoding -%} {%- endif -%}