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>
{% for text in film.related_texts %} <div class="texts">
<div> {% for text in film.related_texts %}
<a href="{{ text.get_absolute_url }}">{{ text.title }}</a> <div class="text">
<a href="{{ text.get_absolute_url }}">
{{ text.title }}<br>
{{ text.byline }}
</a>
</div>
{% endfor %}
</div> </div>
{% endfor %}
</div> </div>
{% endblock %} {% endblock %}