add byline

This commit is contained in:
j 2021-10-11 14:06:49 +01:00
parent b8f1c52613
commit cb9ffc1a7c
2 changed files with 10 additions and 5 deletions

View file

@ -1,6 +1,6 @@
.texts { main > .texts {
box-sizing: border-box; box-sizing: border-box;
a { a {

View file

@ -15,11 +15,16 @@
<div> <div>
<a href="" id="play-fullscreen">Play</a> <a href="" id="play-fullscreen">Play</a>
</div> </div>
<div class="texts">
{% for text in film.related_texts %} {% for text in film.related_texts %}
<div> <div class="text">
<a href="{{ text.get_absolute_url }}">{{ text.title }}</a> <a href="{{ text.get_absolute_url }}">
{{ text.title }}<br>
{{ text.byline }}
</a>
</div> </div>
{% endfor %} {% endfor %}
</div>
</div> </div>
{% endblock %} {% endblock %}