summaryrefslogtreecommitdiff
path: root/templates/stories.html
blob: bc77644b1124b53d37f9aba4eddfb6e572d4a631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends "base.html" %}
{% block title %}Stories{% endblock title %}
{% block content %}
<div class="works">
    {% for work in works %}
        <a href="{{work.path_to_document}}" style="background-image: url('./images/workcardimages/{{work.path_to_image}}');" class="work-card" download>
                    <div class="title-and-description">
                        <h3>{{work.title}}</h3>
                        <p>{{work.description}}</p>
                    </div>
                    <div class="info">
                        <span>{{work.number_of_pages}} Pages</span>
                        <span>{{work.language}}</span>
                        <span>{{work.story_type}}</span>
                    </div>
        </a>
    {% endfor %}
</div>
{% endblock content %}