{% extends data.outerLayout %}

{% block title %}Home{% endblock %}
{% block main %}
  <div class="main-content">
    <h3>Hello world!
      <a class="login-link" href="/login">Login</a>
    </h3>
    <p>This is a very barebones Apostrophe project. Now, get to work and make a real website!</p>
  </div>
{% endblock %}

{% extends data.outerLayout %}

{% block title %}Home{% endblock %}
{% block main %}
  <div class="main-content">
    <h3>Hello world!
      {% if not data.user %}
        <a class="login-link" href="/login">Login</a>
      {% endif %}
    </h3>
    <p>This is a very barebones Apostrophe project. Now, get to work and make a real website!</p>
  </div>
{% endblock %}

Hide login link once logged in
Hide login link once logged in
