{% extends "base.html" %}

<!-- Additional styles and scripts -->
{% block head %}

    <link
        rel="stylesheet"
        href="{{url_for('static', filename='css/page.css')}}"
    />

    <link
        rel="stylesheet"
        href="{{url_for('static', filename='css/project.css')}}"
    />
{% endblock %}

<!-- Title -->
{% block title %}
    {{title}}
{% endblock %}


{% block header %}
<h2 class="subtitle">{{ colophon }}</h2>
{% endblock %}



<!-- Nav -->
<!-- Add button to the nav bar -->
{% block nav %}
     <a href=".." data-sticker-fix="Back"></a>
{% endblock %}


<!-- Contents in the body -->
{% block content%}
    <p class="description">{{description}}</p>
    <a class="project-link" href="{{url}}">Enter</a>



    {% if showcases %}
    <h3>
        Showcases
    </h3>

    <ul class="showcases">
   {% for showcase in showcases %} 
        <li>
            <a href='{{showcase.slug}}/'>
            {{showcase.title}}
            </a>
        </li>
     {% endfor %}      
    </ul>

    {% endif %}


    {{content|markdown}}
{% endblock %}



