My Account

{% if shop.customer_accounts_enabled %}
  {% if customer  %}
    <a href="/account">Your Account</a>
  {% else %}
    {{ 'Log in' | customer_login_link }}
    {% if shop.customer_accounts_optional %}
      <span>or</span>
      {{ 'Create an account' | customer_register_link }}
    {% endif %}
  {% endif %}
{% endif %}